squid + caching name server

DurgaPrasad Adusumalli adusumallid at gmail.com
Fri Feb 25 09:25:09 UTC 2005


I am using squid (with transparent proxying) + redhat caching name
server + iptables firewall OUTPUT policy set to ACCEPT . my named.conf
is configured as below.
//
// named.conf for Red Hat caching-nameserver
//

options {
       directory "/var/named";
       dump-file "/var/named/data/cache_dump.db";
       statistics-file "/var/named/data/named_stats.txt";
       forward only;
       forwarders { x.x.x.x; x.x.x.x; };
       additional-from-cache yes;
       };
//
// a caching only nameserver config
//
controls {
       inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

zone "." IN {
       type hint;
       file "named.ca";
};

zone "localdomain" IN {
       type master;
       file "localdomain.zone";
       allow-update { 127.0.0.1; };
};

zone "localhost" IN {
       type master;
       file "localhost.zone";
       allow-update { 127.0.0.1; };
};

zone "0.0.127.in-addr.arpa" IN {
       type master;
       file "named.local";
       allow-update { none; };
};

zone "255.in-addr.arpa" IN {
       type master;
       file "named.broadcast";
       allow-update { none; };
};

zone "0.in-addr.arpa" IN {
       type master;
       file "named.zero";
       allow-update { none; };
};

include "/etc/rndc.key";

When I try to resolve a host with host command. I get a message

Warning: ID mismatch: expected ID 19406, got 41938
;; Warning: ID mismatch: expected ID 19406, got 41938

My Internet speed got slower than before. Can someone suggest how can
this be optimized. 

With regards.
Durga Prasad.



More information about the bind-users mailing list