Changes to /etc/resolv.conf don't stick

Siri Amrit Kaur tigerflag at tigerflag.com
Mon Jan 23 11:23:14 MST 2006


On Monday 23 January 2006 01:10 pm, Kevin kindly wrote:
> On 1/23/06 10:50 AM, "Siri Amrit Kaur" <tigerflag at tigerflag.com> wrote:
> > OK, now that I can post to the list again I wanted to ask if anyone could
> > tell me how to make permanent changes to my /etc/resolv.conf file. I had
> > to change the nameservers so that I can get system updates and access
> > webmail. But the changes don't stick and it keeps reverting to the old
> > nameservers. I'm not sure when the reversion happens or what's causing
> > it- it's not from rebooting because I haven't rebooted.
> >
> > FWIW, I'm running PCLinuxOS, which probably has a similar file structure
> > to Mandrake which it was originally based upon.
> >


> From a google search, it looks like PCLinuxOS probably uses the 'dhclient'
>
> dhcp client.  If so, read `man dhclient.conf` specifically the supersede
> option.
>
> Something like this works for me in /etc/dhclient.conf:
>
> supersede domain-name-servers 192.168.0.1;
>
> ...Kevin
>

Is that the complete command? Do you tell it what domain-name-servers you want 
it to use? 

And it may be a moot point, because I don't have a file /etc/dhclient.conf 

Siri Amrit
-- 
Tigerflag Natural Perfumery, LLC		
www.tigerflag.com


More information about the PLUG-discuss mailing list