Networking Forums

Networking Forums > Computer Networking > Linux Networking > dhcp-client ignores "supersede" and "prepend" options

Reply
Thread Tools Display Modes

dhcp-client ignores "supersede" and "prepend" options

 
 
Peter Klein
Guest
Posts: n/a

 
      01-28-2004, 12:21 AM
Hello,

I'm running Debian Woody with dhcp-client 2.0 installed. To prevent
dhcp-client from overriding my nameserver settings in resolv.conf, I
put the following options in my /etc/dhclient.conf:

supersede domain-name "mydomain.org";
prepend domain-name-servers = 192.168.0.1, 193.159.170.187;
request subnet-mask, broadcast-address, time-offset, routers,
host-name;

However, after doing a poff / pon (the computer is on a DSL line), I
found that resolv.conf had been overwritten again despite the
"supersede" and the "prepend" option. I also tried putting

interface "eth1" {
[options from above]
}

as well as ppp0 instead of eth1, all to no avail. No matter what I do
to dhclient.conf, my resolv.conf file always consists of these two
lines:

nameserver 62.225.251.16

nameserver 194.25.2.129

What do I have to do to add my own nameserver and set the domain name?
I guess I could change /etc/dhclient-script to not touch resolv.conf,
but there has to be a way to do this through the settings.

Peter
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fwd: SPEWS DOLTS "SneakyP", "Kevin!:?)", "WindsorFox" SPAM braodbandnewsgroup] !:?) Broadband 0 11-30-2005 01:04 AM
Re: SPEWS SLIMES "WindsorFox", "Kevin-!:?)", "Spin Dryer" get the cold shoulder at broadband ng! SneakyP Broadband 0 11-29-2005 10:46 PM
Attention Plus.net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM broadband newsgroup !:?) Broadband 0 11-28-2005 04:28 AM
Attention Plus.Net Re: SPEWS DOLTS "WindsorFox", "Kevin-!:?)", "SpinDryer" SPAM braodband newsgroup !:?) Broadband 0 11-28-2005 03:03 AM
Dlink : "Access Point" or "Wireless Client" mode? Alfie Broadband 2 01-07-2005 07:41 PM



1 2 3 4 5 6 7 8 9 10 11