okay then what you want is probably
dnsmasq...
read the description at the website and i think you'll agree it fits your needs...
BTW, it's one of the easiest programs to run on linux...
basically speaking, once you have it installed, it's just a matter of executing the command:
it will then start listening on port 53/UDP and providing DNS to your LAN (of course there's several options you can provide the command with)... it will use your ISP's DNS servers as listed in
/etc/resolv.conf... to add LAN DNS entries just add them to the
/etc/hosts file and they will be made available to the LAN... the format is the usual (IP host.domain alias), for example:
Code:
192.168.2.11 pc11.zone2 pc11
i have been using dnsmasq on some windows LANs for a while and i am
very happy with it...
the command i use to start dnsmasq is usually:
Code:
dnsmasq -o -r /etc/resolv.masq
the "-r resolv.masq" tells it to use the DNS servers i've placed in the file
resolv.masq (instead of the default
/etc/resolv.conf) and the "-o" just tells it to use the servers in strict order... nothing fancy...
i've also configured my firewall (netfilter/iptables) to allow incoming DNS queries to the dnsmasq box only on the LAN interface and only from the LAN IP's and MAC addresses...