If you'd like to prefer #IPv4 over #IPv6 (without fully disabling v6) on a #Linux machine, check out /etc/gai.conf.
I don't really understand the rules it contains, but at least on my #Debian machine, it's pretty helpful in explicitly saying:
"For sites which prefer IPv4 connections change the last line to `precedence ::ffff:0:0/96 100`"
And in case you're wondering why I'd do that: My IPv6 uplink is currently significantly slower.
Yes, I'll work on this. No, not tonight.
@scy
RFC6724 explains it.
May I ask why this choice? As Legacy IP is a second class citizen in most networks.
#IPv4 #IPv6 #Linux #Debian #SysAdmin