DHCP

Jeff Vian jvian10 at charter.net
Thu Mar 25 22:15:54 UTC 2004



Adam Voigt wrote:

>Well BIND is a DNS server, and as I said, if you point your DHCP to a
>DNS server it should work. However, I'm not sure if when BIND runs into
>an entry it doesn't have cached if it is asking your ISP's DNS or the
>world root DNS servers (which is bad). Unless you absolutely need a
>internal/caching DNS server, I would just use your ISP's DNS server
>since they are probably setup properly with caching already.
>  
>
Bind (as a caching nameserver) asks the nameservers it knows about,  NOT 
the world root servers.
As long as the /etc/resolv.conf file contains the info it needs.

Resolv.conf is rewritten by dhcp when connecting to the isp via dhcp so 
that info is automagically handled for you..

On my home network I have my gateway firewall/router box configured to 
connect via dhcp and run a caching nameserver.  All of my other boxes 
use the gateway machines internal IP address as the nameserver.  Thus, 
any changes in the official ip address of the ISPs DNS servers, or even 
changing an ISP would not affect the internal machines in any way.  I 
also do not have to rest the dns config of any internal machines

The slight delay in having one extra step in DNS resolution is 
absolutely negligible, and the caching feature usually makes the 
responses much faster than making direct queries to the ISP and their 
busy nameservers.

>
>On Thu, 2004-03-25 at 10:24, antonio montagnani wrote:
>  
>
>>I have no domain name, and myproblem is that I get DNS from my ISP, 
>>(different any time??): I could write some DNS's from my ISP.
>>But I installed BIND (no modification on dhcpd.conf file)  and magically 
>>everything worked.
>>Any comment??
>>
>>Tnx a lot
>>    
>>





More information about the users mailing list