dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Thu Oct 16, 2003 10:29 am Post subject: dnsmasq and remote dns servers |
|
|
I'm running a home network from a Gentoo box (192.168.0.1), which uses iptables for masquerading the net connection, dnsmasq for dns caching, and dhcpd for auto-configuration for network clients.
dhcpd is set up to give the other computers DNS server 192.168.0.1 and this is working as expected.
From what i gather about dnsmasq, on request, it will either read a stored dns entry from its own cache, or will contact my ISP's DNS servers to get a result (and cache it). I'm assuming that dnsmasq will contact my ISP's nameservers in the order that they appear in /etc/resolv.conf
Now- I would like the actual server (192.168.0.1) to be able to take advantage of the DNS caching too. But, if i add "nameserver 192.168.0.1" to the top of /etc/resolv.conf, will dnsmasq get confused and stuck in a loop querying itself?
are there better ways to achieve this?
thanks _________________ http://dev.gentoo.org/~dsd |
|