Click to See Complete Forum and Search --> : DNS cache
I have a LAN with two subnets 192.168.0.0/24 and 192.168.1.0/30. My Linux box works as a gateway between them.(192.168.0.2-eth1 & 192.168.1.1-eth0). The computer 192.168.1.2 has access to the Internet through dial-up.(and it's running winMe). Can I make my LINUX BOX a DNS just for cache. Since I have a dial-up connection I get a dynamic IP. It's possible to set up a cache DNS???(maybe some hints... ;) )
jumpedintothefire
09-01-2002, 11:18 AM
I found this to be very useful:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/DNS-HOWTO
section 3 is caching setup... point your lan clients to it once your setup and tested.
I set zone "." type hint and I configure a file root.hints but my DNS server doesn't read it and tries to connect to others IP. WHy? and where should it write the cache???
jumpedintothefire
09-02-2002, 09:17 AM
>> tries to connect to others IP.
To lookup the name from a dns server?? that is a little to foggy to answer..
The cache is in memory only, restart named and the cache is gone....
bind just caches the name/ip mappings, if your looking to cache the whole http page, look to use squid.
is there any way to see the cache made by my DNS server and how can I setup the amount of memory to be used by named and how much memory can(and should) I give to named???