Thomas Hood wrote:
iface eth0 inet static
address 172.17.207.12
gateway 172.17.207.1
netmask 255.255.255.0
I'll assume that interface eth0 is configured using the "ifup" command.
Add this line to the "iface eth0" stanza in /etc/network/interfaces
dns-nameservers 172.17.207.1 172.17.207.18
Then do, as root:
ifdown eth0
ifup eth0
Then your resolv.conf file should be correct. Please read
resolvconf(8) and the README file in/usr/share/doc/resolvconf for
background information.
Why on earth would I want to do that? /etc/resolv.conf has been a
perfectly fine way of statically configuring name servers for the last
few decades.
resolvconf should quite simply not modify /etc/resolv.conf if it doesn't
know the right thing to put there. Then this sort of problem would
never arise.
As I said, I didn't even ask to install it. I don't see why I should
jump through extra nonstandard hoops just because its author can't be
bothered with some simple sanity checks.
ttfn/rjk
--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org