Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12741

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Networking
    • Labels:
      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.

      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 Unassigned
            Reporter:
            christian.hergert@10gen.com Christian Hergert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: