[Bug 1094533] Re: all entries on dns-nameservers line not being processed

Thomas Hood 1094533 at bugs.launchpad.net
Sat Dec 29 20:53:16 UTC 2012


Resolvconf is behaving as designed: by default it includes no more
nameserver addresses after a loopback address.

To switch off this feature, create a file /etc/default/resolvconf with a
line

    TRUNCATE_NAMESERVER_LIST_AFTER_LOOPBACK_ADDRESS=no

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

-- 
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/1094533

Title:
  all entries on dns-nameservers line not being processed

Status in “resolvconf” package in Ubuntu:
  Invalid

Bug description:
  According to the manual page for resolvconf, multiple nameservers may
  be specified in a single dns-nameservers directive. When I try this, I
  am only getting the first entry on the line:

  (full interfaces file available on request. This is the only stanza with dns-nameservers directives though)
  root at atlantis:~# head -n 8 /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
      dns-nameservers ::1 127.0.0.1
      dns-search home.nivex.net nivex.lan

  root at atlantis:~# 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 ::1
  search home.nivex.net nivex.lan

  root at atlantis:~# for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
  === /run/resolvconf/interface/lo.inet ===
  search home.nivex.net nivex.lan
  nameserver ::1
  nameserver 127.0.0.1
  === /run/resolvconf/interface/lo.named ===
  nameserver 127.0.0.1

  
  I unfortunately need both v6 and v4 nameservers because some programs (notably mtr, bug on file) fail without the presence of a v4 nameserver.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: resolvconf 1.63ubuntu16
  ProcVersionSignature: Ubuntu 3.2.0-34.53-generic 3.2.33
  Uname: Linux 3.2.0-34-generic x86_64
  ApportVersion: 2.0.1-0ubuntu15.1
  Architecture: amd64
  Date: Sat Dec 29 14:50:01 2012
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: resolvconf
  UpgradeStatus: Upgraded to precise on 2012-09-01 (119 days ago)

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




More information about the foundations-bugs mailing list