[leafnode-list] Re: SOLVED
clemens fischer
ino-news at spotteswoode.dnsalias.org
Sun Aug 10 22:19:33 CEST 2008
On Sun, 10 Aug 2008 13:18:14 +0200 Christian Ebert wrote:
> $ cat /etc/resolv.conf
> nameserver 217.237.151.205
> nameserver 217.237.148.70
> nameserver 192.168.2.1
>
> With IPv4 set to DHCP there's only the last, the router's, entry.
>
> But just changing /etc/resolv.conf might not be enough as it will
> be overwritten at reboot. -- I have yet to reboot, so I don't
> actually know if the settings are preserved.
if you don't want that to happen, you can override the nameserver
settings in etc/dhclient.conf:
interface "nic0" {
supersede domain-name-servers 217.237.151.205, 217.237.148.70, 192.168.2.1;
}
or, depending on the dhclient-script, it might be possible to set
etc/dhclient-enter-hooks to:
new_domain_name=""
new_domain_name_servers=""
exit_status=0
-c
More information about the leafnode-list
mailing list