gai.conf changes seem to have no effect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu documentation states, that changing /etc/gai.conf is the way to be able to prefer IPv4 over IPv6.
So from the original gai.conf we removed the comment in front of the precedence statements AND set the value for ::ffff:0:0/96 to 60.
Unfortunately this does not seem to have an effect. E.g.: 'getent hosts heise.de' still returns '2a02:2e0:
/etc/nsswitch.conf uses 'hosts: files dns'.
Linux tb 3.16.0-24-generic #32-Ubuntu SMP Tue Oct 28 13:07:32 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/os-release
NAME="Ubuntu"
VERSION="14.10 (Utopic Unicorn)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 14.10"
VERSION_ID="14.10"
HOME_URL="http://
SUPPORT_URL="http://
BUG_REPORT_URL="http://