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

Kevin plug-discuss at firstpacket.com
Mon Jan 23 14:51:15 MST 2006


On 1/23/06 2:21 PM, "Jeremy C. Reed" <reed at reedmedia.net> wrote:

> On Mon, 23 Jan 2006, Kevin wrote:
> 
>>> root      2423  0.0  0.1  2208  976 ?        S    Jan16   0:00
>>> /sbin/dhclient
>>> -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid
>>> -cf /etc/dhclient-eth0.conf eth0
>>> tigerfl   6854  0.0  0.1  2032  632 pts/1    S    13:27   0:00 grep dhc
>> 
>> Okay, good.  You are using dhclient as your dhcp client.  So, as Darrin
>> said, it's not a big deal that you currently have no dhclient.conf file.  It
> 
> It looks like it does have a configuration in use:
> 
> /etc/dhclient-eth0.conf

Oops, I didn't catch that.  Thanks Jeremy.

Siri, you just need to echo that command into /etc/dhclient-eth0.conf
instead.  So the command would look like this instead:

  echo "supersede domain-name-servers 204.62.193.10, 204.62.193.7,
204.62.193.3;" >> /etc/dhclient-eth0.conf

All on one line (including the double-quotes and the semicolon) as root.

Hope that help.  Sorry for the confusion.

...Kevin




More information about the PLUG-discuss mailing list