---
** [tickets:#2405] base: Use getdomainname() to build the FQDN**
**Status:** accepted
**Milestone:** 5.2.RC2
**Created:** Thu Mar 30, 2017 11:10 AM UTC by Anders Widell
**Last Updated:** Thu Mar 30, 2017 11:10 AM UTC
**Owner:** Anders Widell
Querying the DNS can potentially be very slow, especially in the case when the
DNS servers are not responding e.g. due to a misconfiguration. Therefore, the
proposed solution is to instead use gethostname() + getdomainname() to build
the fully qualified domain name (FQDN) using locally stored information.
The result from getdomainname() may not always be accurate so the long-term
solution is probably to introduce a separate process/thread that can query the
DNS in the background.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets