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
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@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe




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

  Powered by Linux