[SERVER-12741] mongod on glibc should regularly call res_init() to reparse DNS nameservers Created: 14/Feb/14 Updated: 10/Dec/14 Resolved: 14/Feb/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Networking |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Christian Hergert | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Steps To Reproduce: | Change /etc/resolv.conf to new nameserver. |
||||||||
| Participants: | |||||||||
| Description |
|
Updating /etc/resolv.conf will have no effect on running mongod instances until they are restarted due to nameserver caching in glibc. According to Ulrich, calling res_init() will cause this to happen. http://sourceware.org/bugzilla/show_bug.cgi?id=3675 |