"server -4 hostname -6" does not IPv6

Hal Murray hmurray at megapathdsl.net
Wed Apr 3 20:30:48 UTC 2019


> But this brings up another related issue. We're preferring IPv6 by default,
> right? That should be the default, but I just wanted to ask. 

It uses the first answer it gets back from getaddrinfo

I just scanned the man page.  I didn't see anything about the order of 
returned answers.


ntpd used to know if IPv4 and/or IPv6 was supported on this system.  That 
feels like the sort of thing that Eric would have removed but I think I saw 
some of that code recently.



-- 
These are my opinions.  I hate spam.





More information about the devel mailing list