[CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

Gordon Messmer gordon.messmer at gmail.com
Sat Jun 9 17:59:48 UTC 2018


On 06/09/2018 07:51 AM, Steve Rikli wrote:
>
> I had hopes for gai.conf as the more universal solution, but apparently
> it's not useable here.

gai.conf works as intended for most applications, here.  For example, if 
I uncomment the block of "precedence" lines, and swap between "10" and 
"100" for the last line, then "telnet www.google.com 80" will connect to 
either the IPv4 or IPv6 address based on that value.  Have you verified 
that works for you?  Do the results for that test not match the results 
for NFS mounts?



More information about the CentOS mailing list