[squid-users] Caching nameserver + squid

From: DurgaPrasad Adusumalli <adusumallid@dont-contact.us>
Date: Thu, 24 Feb 2005 15:38:48 +0530

I am using squid + redhat caching name server. 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 check the cache zone.
named-checkzone named-checkzone . /var/named/chroot/var/named/named.ca.
I get message ,
zone ./IN: could not find NS and/or SOA records
zone ./IN: has 0 SOA records
My Internet access is slower than before. Can someone suggest how can
this be optimized.

With regards.
Durga Prasad.
Received on Thu Feb 24 2005 - 03:08:51 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST