Setting a DNS without using neat

Mitch Anderson mitch at metauser.net
Fri Nov 19 19:39:43 UTC 2004


On Fri, 2004-11-19 at 20:22 +0100, Kyrre Ness Sjobak wrote:
> > DNS servers are set in the /etc/resolv.conf file.
> > 
> > just open it with your favorite editor and add or change the line
> > beginning with "nameserver"
> > 
> > ie: 
> > nameserver x.x.x.x
> > nameserver x.x.x.x
> > 
> Normally, yes. But it will be reset during the DHCP call... (or reboot,
> moving of machine (laptop case))

Correct, if this is not desired, add the following line
to /etc/sysconfig/network

PEERDNS=no (default is yes)

and the DHCP client will not overwrite those settings.

-- 
Mitch Anderson <mitch at metauser.net>




More information about the fedora-test-list mailing list