[Bug 1284607] Re: resolvconf ignores given dns-servers in /etc/network/interfaces
Nathan Stratton Treadway
ubuntu.lp at nathanst.com
Tue Feb 25 19:38:36 UTC 2014
On Tue, Feb 25, 2014 at 16:10:50 -0000, Stéphane Graber wrote:
> By default, resolvconf will truncate the list of DNS servers after the
> loopback address. This can be overriden by putting
> TRUNCATE_NAMESERVER_LIST_AFTER_LOOPBACK_ADDRESS=no in
> /etc/default/resolvconf
>
> This behaviour is documented in resolvconf's manpage.
[...]
> https://bugs.launchpad.net/bugs/1284607
>
> Title:
> resolvconf ignores given dns-servers in /etc/network/interfaces
>
[...]
> Bug description:
[...]
> Together with dnsmasq handling name resolution no names other tan
> local known ones are resolved.
The reason resolvconf stops with the lookback address by default is that
in most cases dsnmasq is sufficient to handle all name resolution. So
another approach to getting your system working would be to add your
hard-coded nameservers to the dnsmasq configuration rather than the
network/interfaces file.
Nathan
--
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/1284607
Title:
resolvconf ignores given dns-servers in /etc/network/interfaces
Status in “resolvconf” package in Ubuntu:
Invalid
Bug description:
resolvconf ignores given dns-servers in /etc/network/interfaces if the
interface in question is configured by dhcp:
auto em1
iface em1 inet dhcp
dns-nameservers 10.161.18.34 10.129.18.34
dns-search xxx.yy
the "dns-nameservers"-line is ignored (it shouldn't), while the "dns-
search"-line is honoured:
# 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 127.0.0.1
search xxx.yy
Together with dnsmasq handling name resolution no names other tan
local known ones are resolved.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: resolvconf 1.69ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-12.32-generic 3.13.4
Uname: Linux 3.13.0-12-generic x86_64
ApportVersion: 2.13.2-0ubuntu5
Architecture: amd64
Date: Tue Feb 25 12:57:34 2014
InstallationDate: Installed on 2014-01-31 (25 days ago)
InstallationMedia: Ubuntu-Server 13.10 "Saucy Salamander" - Release amd64 (20131016)
PackageArchitecture: all
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: resolvconf
UpgradeStatus: Upgraded to trusty on 2014-01-31 (25 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1284607/+subscriptions
More information about the foundations-bugs
mailing list