DHCP & /etc/resolv.conf
Jos Vos
jos at xos.nl
Thu Oct 23 09:19:31 UTC 2003
On Thu, Oct 23, 2003 at 12:09:50PM +0300, Lauri Jutila wrote:
> I have DHCP servers at both home and office for quick and easy network
> configuration when I use a laptop. I've also installed caching name
> server to my laptop and it works fine, but DHCP client always
> regenerates /etc/resolv.conf, discarding old information, including
> "nameserver 127.0.0.1".
>
> Is there a way to have a permanent setting in /etc/resolv.conf and let
> DHCP client change the rest regarding to where I'm located?
Yes: add "PEERDNS=no" to the ifcfg-eth0 file (or whatever you use).
--
-- Jos Vos <jos at xos.nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
More information about the fedora-test-list
mailing list