Comment 6 for bug 1035098

Revision history for this message
MarianoAbsatz (el-baby) wrote : Re: Also truncate nameserver list after a loopback address in resolv.conf.d/head

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