I found what seems to be a bug in resolvconf. to specify static dns
servers for a netiface, you can add the following to
/etc/network/interfaces:
iface eth1 inet static
name faraway
address 200.69.231.1
netmask 255.255.255.252
broadcast 200.69.231.3
gateway 200.69.231.2
dns-nameserver 200.69.193.111 200.69.193.112 # this one
resolvconf is executed via /etc/network/if-up.d/000resolvconf when the
netiface is brought up, with some environment variables set up. within
those envvars there is IF_DNS_NAMESERVER, which has the value of the
dns-nameserver field there above. the problem is that /etc/network/if-
up.d/000resolvconf is checking for IF_DNS_NAMESERVERS, with a trailing
S, so it thinks there are no nameservers and acts accordingly.
I'm not sure if the bug is in resolvconf or in ifupdown, though.
--
No DNS at computer start
https://launchpad.net/bugs/54115
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs