Public bug reported:

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@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@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@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)

** Affects: resolvconf (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to