[CentOS] dhcp question

Thu Jul 9 04:15:35 UTC 2009
John R Pierce <pierce at hogranch.com>

Karanbir Singh wrote:
> On 07/08/2009 11:46 PM, John R Pierce wrote:
>   
>> for your use, dnsmasq would do nicely.   with the rpmforge repo
>> configured...
>>     
>
> whats wrong with the dnsmasq already included in C5 ? ( I am guessing 
> the target is c5 )
>   

oh is it?   I did a rpm -qi and saw your name and assumed it was from 
rpmforge.


> Why not just use the caching-nameserver ?
>   

isn't that a canned bind configuration?  ah, yeah, thats what the 
package info file says it is.

bind is a lot more complex than dnsmasq.   dnsmasq uses /etc/resolv.conf 
for forwarded lookups, while a caching bind server either uses
a statically configured forwarder, or a root cache zone, and running a 
root cache zone on a intermittently connected system ('different ISPs') 
isn't a good idea.

dnsmasq will also serve local clients with dns using entries in your 
/etc/hosts file, which can be handy when you have a few static hosts on 
a small masqueraded network.