> I have built a local DNS server bind (Debian Sarge).The DNS should > accelerate DNS look ups by LAN clients. > But Now, in contrary the local dns is slower than a custom DNS by my > webhoster :-( You should use BIND 9, disable lookups over IPv6 (OPTIONS="-u bind -4" in /etc/defaults/bind9), and you need to wait a bit until the local cache has been filled.
Add to the file /etc/bind/named.conf.local:
zone "mydomain.com" {
type forward;
forward only;
forwarders { 192.168.0.2; 192.168.0.6; };
};
Of course you need to replace 'mydomain.com' as well as the 2 ip addresses in the 'forwarders'-line.
host -t txt -c CHAOS version.bind localhost
named - options {version “DNS daemon”;};
host -t txt -c CHAOS hostname.bind localhost
gethostbyname()