Search squid archive

[squid-users] Caching nameserver + squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux