We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc192f0 commit 72c5458Copy full SHA for 72c5458
deps/cares/src/ares_init.c
@@ -1030,6 +1030,11 @@ static int get_DNS_AdaptersAddresses(char **outptr)
1030
}
1031
else if (namesrvr.sa->sa_family == AF_INET6)
1032
{
1033
+ /* Windows apparently always reports some IPv6 DNS servers that
1034
+ * prefixed with fec0:0:0:ffff. These ususally do not point to
1035
+ * working DNS servers, so we ignore them. */
1036
+ if (strncmp(txtaddr, "fec0:0:0:ffff:", 14) == 0)
1037
+ continue;
1038
if (memcmp(&namesrvr.sa6->sin6_addr, &ares_in6addr_any,
1039
sizeof(namesrvr.sa6->sin6_addr)) == 0)
1040
continue;
0 commit comments