All pastes #709677 Raw Edit

Stuff

public text v1 · immutable
#709677 ·published 2007-09-24 21:31 UTC
rendered paste body
options {
        directory "/var/named";
        version "PMJ-BA";
        minimal-responses yes;
        allow-transfer {10.0.10.2;};
        listen-on {127.0.0.1; localhost; 10.0.10.0/24; 10.0.11.0/24; 10.0.12.0/24; 10.0.13.0/24;} 
        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
        // query-source address * port 53
};

//
// a caching only nameserver config
//
zone "." IN {
        type hint;
        file "caching-example/named.ca";
};

zone "localhost" IN {
        type master;
        file "caching-example/localhost.zone";
        allow-update { none; };
};

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