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

Jingcao Hu jingcao at ece.cmu.edu
Sun Nov 16 17:09:51 UTC 2003


Thanks Frank, Mattew and Mike. Unfortunately, I use the DHCP server which is
provided by my ISP, so I don't have access to it. Meanwhile, I don't want to
use my school's DNS server though, since using ISP's DNS server seems a
little bit faster. Maybe I will just go ahead and put some code in my
rc.local. 


Frank Solensky <frank at solensky.org> writes:

>> 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.
>
> If you're picking up the DNS server locations from your DHCP server, it
> might be easier to get it to announce the domain name along with the
> server addresses.
>
> If the server is another Linux system, the dhcpd.conf file should
> include the line
>     option domain-name "cmu.edu";
> usually as a global configuration option.  The man page for dhcpd.conf
> has more details.
>
>

-- 
For a man to truly understand rejection, he must first be ignored by a
cat.





More information about the fedora-list mailing list