Dirt simple DNS server?
James McDonald
james
Wed Jun 13 18:54:11 PDT 2007
Michael Hipp wrote:
> I'm looking for the World's Simplest DNS server. Just need something that I
> can put a few entries in a 'hosts' file and have it serve those addresses to
> my LAN (and forward anything else to an upstream DNS).
>
> Anyone know of anything like this?
>
> Thanks,
> Michael
>
>
I use dnsmasq
This is my config file .... seems to work well. and it expands
/etc/hosts by default
This is my config file. I think you may agree that it's fairly simple...
$cat /etc/dnsmasq.conf | grep -v ^# | grep -v ^$
domain-needed
bogus-priv
interface=eth0
expand-hosts
domain=jmcd.local
dhcp-range=10.254.239.25,10.254.239.30,255.255.255.0,12h
dhcp-host=00:0F:EA:6C:5A:E5,blackbox,10.254.239.25,infinite
dhcp-option=1,255.255.255.0
More information about the Linux-users
mailing list