DNS search names

Rick Knight rick_knight at rlknight.com
Fri Sep 14 16:09:04 UTC 2007


Thilo Six wrote:
> J. Pablo Fernández wrote the following on 14.09.2007 17:14
>   
>> Hello,
>>
>> How do I configure a list of domain names to search when resolving? 
>> Modifying /etc/resolv.conf is not good enough, it gets overwritten.
>>
>> Thanks.
>>     
>
> When /etc is on ext3 then you could lock that file with:
> $ sudo chattr +i /etc/resolv.conf
> after editing it.
>
> unlocking with:
> $ sudo chattr -i /etc/resolv.conf
>
> bye
>   
Try System Settings > Network Settings > Administrator Mode.

You can change the name search there. If you get your IP from a DHCP 
server you can tell the dhcp client to not get nameserver information. 
Look in /etc/dhcp3/dhclient.conf.

Rick




More information about the kubuntu-users mailing list