how to keep search suffix in /etc/resolv.conf
Mike Burger
mburger at bubbanfriends.org
Sat Nov 15 17:20:03 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?
You have two options:
First is to configure your DHCP server to serve up those search domains
via adding this to your /etc/dhcpd.conf file on your DHCP server:
option domain-name "a.b.c";
Or, in the ifup-eth0 file, add "PEERDNS=no"
--
Mike Burger
http://www.bubbanfriends.org
Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000
To be notified of updates to the web site, visit
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a
message to:
site-update-request at bubbanfriends.org
with a message of:
subscribe
More information about the fedora-list
mailing list