-
Type: Task
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: manual
-
Labels:
We should call res_init() on Linux systems after failure in getaddrinfo().
Handle cases when the DNS resolver has been changed by resetting the cache.
Should ideally be fixed in glibc but do not think they will as outlined http://sourceware.org/bugzilla/show_bug.cgi?id=3675
====== DOCS CHANGE =======
This is a minor issue effecting DNS on RedHat derivative linux distributions due to an implementation choice in GLIBC in those distributions. The issue is, if you make changes to the DNS resolver underneath MongoDB you will need to restart your database under any RHEL based Linux.
This does not effect Debian derivatives as they use a patched version of GLIBC.
- is duplicated by
-
SERVER-12099 getaddrinfo(hostname:port) - Temporary failure in name resolution
- Closed
- is related to
-
SERVER-12741 mongod on glibc should regularly call res_init() to reparse DNS nameservers
- Closed
- related to
-
SERVER-10375 DNS failures can cause a primary-less state that wouldn't exist if a node had gone down entirely
- Closed