-------- In message <[email protected]>, Warner Losh write s:
>>>> Unless there is an overriding value in efficient encoding, >>> >>> There is. getaddrinfo(3) is almost always available and works >>> about as well as any protocol on the internet can work. >> >> Doesn't getaddrinfo support IPv6, too? Parsing the longer string >won't be dramatically slower. Man DNS resolvers are setup to not forward IPv6 responses (because they know there is no IPv6 connectivity behind them.) In reality, I would send both an IPv6 and IPv4 DNS record as response, hoping that at least one of them makes it through. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 [email protected] | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. _______________________________________________ LEAPSECS mailing list [email protected] https://pairlist6.pair.net/mailman/listinfo/leapsecs
