[Bug 1035098] Re: Also truncate nameserver list after a loopback address in resolv.conf.d/head
MarianoAbsatz
1035098 at bugs.launchpad.net
Fri Sep 21 02:00:22 UTC 2012
So... I add the 'dns-nameservers 127.0.0.1' entry to
/etc/network/interfaces but it seems to be completely ignored.
I tried adding it to the eth0 entry, to the loopback entry and to both,
and everytime I restart networking I get my ISP's nameserverrs on
/etc/resolv.conf.
My current /etc/network/interfaces file look like this:
auto lo
iface lo inet loopback
dns-nameservers 127.0.0.1
auto eth0
iface eth0 inet dhcp
dns-nameservers 127.0.0.1
--
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/1035098
Title:
Also truncate nameserver list after a loopback address in
resolv.conf.d/head
Status in “resolvconf” package in Ubuntu:
New
Bug description:
I created a /etc/default/resolvconf file with the option:
TRUNCATE_NAMESERVER_LIST_AFTER_LOOPBACK_ADDRESS="yes"
in it.
The contents of /etc/resolvconf/resolv.conf.d/head are:
########################################
# 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
# local resolver (unbound)
nameserver ::1
nameserver 127.0.0.1
########################################
However, after rebooting, I still get my ISP's DNS servers below mine.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resolvconf/+bug/1035098/+subscriptions
More information about the foundations-bugs
mailing list