mongod on glibc should regularly call res_init() to reparse DNS nameservers

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • None
    • ALL
    • Hide

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

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

      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

            Assignee:
            Unassigned
            Reporter:
            Christian Hergert (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: