[Bug 1216586] Re: resolvconf uses only one ipv6 nameserver

gsauthof 1216586 at bugs.launchpad.net
Sun Aug 25 22:11:08 UTC 2013


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?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1216586

Title:
  resolvconf uses only one ipv6 nameserver

Status in “ifupdown” package in Ubuntu:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1216586/+subscriptions




More information about the foundations-bugs mailing list