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

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


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

Visit the Dog Pound II BBS
telnet:// or

To be notified of updates to the web site, visit, or send a 
message to:

[email protected]

with a message of: 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux