[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[leafnode-list] Re: SOLVED



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

-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
https://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/