DNS search names

Derek Broughton news at pointerstop.ca
Tue Sep 18 12:57:00 UTC 2007

J. Pablo Fernández wrote:

> On Friday 14 September 2007 17:01:05 Thilo Six wrote:
>> J. Pablo Fernández wrote the following on 14.09.2007 17:14
>> > How do I configure a list of domain names to search when resolving?
>> > Modifying /etc/resolv.conf is not good enough, it gets overwritten.
>> >
> I still want to get the name servers the DHCP server assing to me. The
> only thing I want is to provide my own namesearch list.
You want to modify /etc/dhcp3/dhclient.conf.

prepend domain-name-servers;

will put as the first name server, then the DHCP assigned ones
following.  Obviously, you can specify another IP, and you can also
use "append" to have your server searched last (not that I can think why
you would!).

More information about the kubuntu-users mailing list