+17
−1
+63
−22
Loading
- resolv.h: MAXDNSRCH (6) and glibc's _u._ext with nsaddrs[] for IPv6
name servers (real gap: Firefox's NetlinkService reads them the way
Chromium does); dnsrch is dnsrch[MAXDNSRCH + 1]
- res_init: up to MAXNS name servers from /etc/resolv.yaml (was: the
first one, IPv4 only); IPv6 ones leave nsaddr_list[i].sin_family 0 and
point _u._ext.nsaddrs[i] at their address
- res_ninit: every state gets its own copies of the IPv6 addresses,
res_nclose frees them
Co-Authored-By:
Claude Opus 5.5 <noreply@anthropic.com>