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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin
Date:  
To: PLUG-DISCUSS
Subject: Re: Changes to /etc/resolv.conf don't stick

On 1/23/06 10:50 AM, "Siri Amrit Kaur" <> 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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss