[Bug 1094345] Re: order of resolvers always prefers IPv4

Thomas Hood 1094345 at bugs.launchpad.net
Sat Dec 29 19:14:47 UTC 2012


OK, it should suffice to add a line

    eth*([^.]).ip6.dhclient

before the existing line

    eth*

and then to run the following command to update resolv.conf.

    resolvconf -u

What remains is the question whether or not anything should be done to
the resolvconf package.

I think so. Consider eth0 with inet, inet6, dhclient and ip6.dhclient
records. These are currently ordered (alphabetically) as follows.

    eth0.dhclient
    eth0.inet
    eth0.inet6
    eth0.ip6.dhclient

For symmetry with the IPv4 case the ip6.dhclient record should come
before the inet6 record.

    eth0.dhclient
    eth0.ip6.dhclient
    eth0.inet
    eth0.inet6

The present bug report (bug #1094345) wishes that the IPv6 records came
before the IPv4 records.

    eth0.ip6.dhclient
    eth0.dhclient
    eth0.inet6
    eth0.inet

Is this (IPv6 over IPv4) something that everyone would/should want, or
not?

** Changed in: resolvconf (Ubuntu)
       Status: New => Confirmed

** Summary changed:

- order of resolvers always prefers IPv4
+ IPv6 DHCP record is too late in resolvconf interface-order

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

Title:
  IPv6 DHCP record is too late in resolvconf interface-order

Status in “resolvconf” package in Ubuntu:
  Confirmed

Bug description:
  I am using /etc/network/interfaces rather than NetworkManager on this
  machine. resolvconf is always writing the IPv4 nameservers and search
  domains before the IPv6. I would like the IPv6 resolver information to
  be given priority or a method to select the behavior.

  kjotte at pegasus:~$ cat /etc/network/interfaces
  # This file describes the network interfaces available on your system
  # and how to activate them. For more information, see interfaces(5).

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  auto eth0
  iface eth0 inet6 auto
      dhcp 1
  iface eth0 inet dhcp

  kjotte at pegasus:~$ cat /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 172.31.3.4
  nameserver 2001:470:8:64f::4
  search nivex.lan home.nivex.net

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: resolvconf 1.67ubuntu2
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.6.1-0ubuntu6
  Architecture: i386
  Date: Fri Dec 28 15:33:41 2012
  MarkForUpload: True
  PackageArchitecture: all
  SourcePackage: resolvconf
  UpgradeStatus: Upgraded to quantal on 2012-05-10 (232 days ago)

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




More information about the foundations-bugs mailing list