resolvconf uses only one ipv6 nameserver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I've specified two IPv6 nameserver addresses via /etc/network/
iface eth0 inet6 static
...
iface eth0 inet6 static
address ...
netmask 64
gateway ...
Doing a ifdown eth0 && ifup eth0 I get following /etc/resolv.conf:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver XXX
nameserver YYY
nameserver ...:23::2
That means the 2nd ipv6 nameserver was not picked up.
1) Release: 10.04
2) package resolvconf 1.45ubuntu1
3) expected behaviour: the 2 via /etc/network/
4) actual behaviour: only the first ipv6 nameserver address is written to /etc/resolv.conf
Correction to the intital description:
The first stanza, instead of
iface eth0 inet6 static
dns-nameserver XXX YYY
...
it should read:
iface eth0 inet static
dns-nameserver XXX YYY
...
After a reboot the /etc/resolv.conf is still not expected, but looks different:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver ...:23::2
nameserver ...:24::2
That means that now the IPv4 nameserver are completely missing.
Perhaps resolvconf has some kind of race-condition regarding dual stack setup via /etc/network/ interfaces?