gai.conf changes seem to have no effect

Bug #1410637 reported by Jens Elkner
6
This bug affects 1 person
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:3fe:1001:302:: heise.de' instead of '193.99.144.80 heise.de', even if no interface has an IPv6 addr configured, all /proc/sys/net/ipv6/conf/*/disable_ipv6 have the value 1 and no ipv6 specific iptables/rules are in use. This is extremly odd and needs to be fixed.

/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://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.