DNS Clients:


Table of Contents

resolv.conf changing over time 
resolv.conf changing over time 
resolv.conf changing over time 
dhclient local customizations 
set domain name 
cmd:dhcpcd 
Info from slackware 
Usage 
Usage explanation 
dpkg:dhcpcd 
dhcpcd 
dhcpcd-bin 
dhcpcd.exe 
dpkg:dhcp-client 
Basic Info 
The full list of Slackware /etc/rc.d/rc.inet1 file 
Not use the default DHCP setting 
Use the default DHCP setting 
File source 
Other dhcp server/client 
cmd:pump 
cmd:dhclient 
DHCP problem?? 
DHCP problem?? 
change pump to dhcpcd 
Rh7.2 
Rh6.2 
Rh6.2 
Rh6.2 
Rh6.2 
DHCP/Static Network Configuaration 
netconfig 
history:netconf 

resolv.conf changing over time 

Newsgroups:  gmane.linux.debian.user
Date:        Wed, 24 May 2006 17:54:04 +0200
> My crabby ISP is so screwed up, that I need 4 or more seconds to resolve
> google.com, and many time I would get "domain name not found" right in
> the middling while I'm looking my yahoo email. It's no use complaining
> to my ISP. I just installed the DNS cache server.
>
> The problem is it won't be long before my etc/resolv.conf, which points
> to my own DNS cache server, get changed. How can I solve that? Is there
> any hooks like ipup(?) for dial up?

You might want to look at the "resolvconf" package.

George Borisov

resolv.conf changing over time 

> The problem is it won't be long before my etc/resolv.conf, which points
> to my own DNS cache server, get changed. How can I solve that? Is there
> any hooks like ipup(?) for dial up?

if you use pump for a dhcp client, there are a couple of ways to tell it not to update the DNS resolver configuration (add '-d' in the init script, or even better put 'device eth0 { nodns }' in pump.conf)

if you don't use pump, you can either look for a similar feature in your dhcp client or simply 'apt-get install pump' (it will replace your current client)

Joris

resolv.conf changing over time 

> if you use pump for a dhcp client, there are a couple of ways to tell it
> not to update the DNS resolver configuration (add '-d' in the init
> script, or even better put 'device eth0 { nodns }' in pump.conf)

And if you are using dhclient you can add the following line to your /etc/dhclient.conf

supersede domain-name-servers 127.0.0.1;

"man dhclient.conf" for more details

Ken Wahl

dhclient local customizations 

dhclient-script provides the enter and exit hooks for local customizations to to override the default behaviour of the client in creating a /etc/resolv.conf file.

After all processing has completed, /etc/dhclient-script checks for the presence of the /etc/dhclient-exit-hooks script, which if present is invoked using the '.' command.