[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:
Related
related to DOCS-5700 Call res_init() after a failure of ge... Closed
Operating System: ALL
Steps To Reproduce:

Change /etc/resolv.conf to new nameserver.
Shutdown old nameserver.
Wait for getaddrinfo() resolution failures.

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


Generated at Thu Feb 08 03:29:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.