how to keep search suffix in /etc/resolv.conf

Matthew Saltzman mjs at ces.clemson.edu
Sun Nov 16 00:25:37 UTC 2003


On Sat, 15 Nov 2003, Jingcao Hu wrote:

> Every time, when the system reboot, the dhcp client overwrite it. I am fine
> with the given DNS server, but I would like to keep my search suffix. More
> specifically, I want to have the "search a.b.c" to the domain that I want.
>
> I know that I can use rc.local to hack that, but is there a standard or
> neat way?

redhat-config-network and set the interface not to set DNS server from
DHCP.

Or edit /etc/sysconfig/network-scripts/ifcfg-ethX and set PEERDNS=no.

-- 
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs





More information about the fedora-list mailing list