resolvconf uses only one ipv6 nameserver

Bug #1216586 reported by Georg Sauthoff
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ifupdown (Ubuntu)
New
Undecided
Unassigned

Bug Description

I've specified two IPv6 nameserver addresses via /etc/network/interfaces like this:

iface eth0 inet6 static
        ...
        dns-nameserver XXX YYY

iface eth0 inet6 static
        address ...
        netmask 64
        gateway ...
        dns-nameservers ...:23::2 ...:24::2

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/interfaces specified ipv6 nameservers in /etc/resolv.conf after ifdown/ifup
4) actual behaviour: only the first ipv6 nameserver address is written to /etc/resolv.conf

Revision history for this message
Georg Sauthoff (g-sauthoff) wrote :

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?

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.