PDA

View Full Version : Creating A DNS Cache With djbdns


xanthon
8th May 2007, 13:50
This is the article: http://www.howtoforge.com/dns_cache_with_djbdns

I stumbled when I got to # dnscache-conf dnscache dnslog /etc/dnscache 192.168.1.1
# touch /etc/dnscache/root/ip/192.168.1
# ln -s /etc/dnscache /var/service
Now, each client can add 192.168.1.1 as a valid DNS resolver My ADSL modem has the IP address shown in the passage quoted. That is probably a common address for a modem.

Is that why it has been chosen, or should I use another address for the cache? My analogue telephone adapter grabs 192.168.1.2 under DHCP and the computer typically gets 192.168.1.3. It seems I need to go back to assigning static addresses, so should the cache be 192.168.1.3 and the gateway, in which case the computer becomes 192.168.1.4? Or should the modem, the DNS cache and the gateway all be 192.168.1.1?

Following on from that, what "clients" do I configure. I do not recognise the dialogue shown in the article at that point, although it is similar to a gui tool used to set a connection for the computer. :confused:

falko
9th May 2007, 18:57
Is that why it has been chosen, or should I use another address for the cache?
You must use the IP address of the system where you install djbdns. If that system has the IP address 192.168.1.3, then you must use that one.

Or should the modem, the DNS cache and the gateway all be 192.168.1.1?That doesn't work. Each system needs a seperate IP address.

Following on from that, what "clients" do I configure.
This refers to your client computers in your LAN (e.g. a Windows desktop).