getaddrinfo ENOTFOUND error on Windows 10 due to failed fallback to ipv4 after ipv6 lookup fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.3.5
    • Affects Version/s: 3.2.7
    • Component/s: None
    • None
    • Environment:
      Windows 10 with ipv6 enabled, driver used by Compass
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Connections that do not use an IP address are failing on some Windows 10 systems.

      The reported problem is with specifying the family as ipv6 or not specifying a family:

      dns.lookup(host, (error, address, 6))
      dns.lookup(host, (error, address))
      

      The default fallback from ipv6 to ipv4 is not working with hostnames (IP addresses succeed). One possible workaround is to drop support for ipv6:

      dns.lookup(host, (error, address, 4))
      

            Assignee:
            Daniel Aprahamian (Inactive)
            Reporter:
            Brian Blevins
            None
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: