Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-5700

Call res_init() after a failure of getaddrinfo()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: manual
    • Labels:
    • # Replies:
      7
    • Last comment by Customer:
      true
    • Sprint:
      Docs Sprint 2016 (03.28-04.15), Docs Current Sprint

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since reply:
                  5 years, 26 weeks, 6 days ago
                  Date of 1st Reply: