I have just set up a router and would like DNS caching on it. I have tried to 
set it up an it kind of works, just computer using it as their nameserver 
take ages on DNS queries, up to 4-5 seconds.

To set up the DNS caching I added the ip of another DNS server 
to /etc/resolv.conf and added namd_enable="YES" to /etc/rc.conf.
I also tweaked the following lines in /var/named/etc/namedb/named.conf: 
listen-on       { "any"; };
forwarders {
       192.168.0.1;
};
query-source address * port 53;

Any ideas on how to make it run better? The DNS server at 192.168.0.1 answers 
DNS queries in a few milliseconds.

-- 
/Xian

"Too many of us look upon Americans as dollar chasers. This is a cruel libel, 
even if it is reiterated thoughtlessly by the Americans themselves."
Albert Einstein
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to