All pastes #281532 Raw Edit

Mine

public text v1 · immutable
#281532 ·published 2006-12-16 21:52 UTC
rendered paste body
//
// /etc/named.conf
//

options {
        directory "/var/named";
        pid-file "/var/run/named/named.pid";
        query-source address * port 53;
        auth-nxdomain yes;
        datasize default;
        allow-recursion { 127.0.0.1; };
         forwarders {
                200.29.4.70;
         };

// Uncomment these to enable IPv6 connections support
// IPv4 will still work
//      listen-on { none; };
//      listen-on-v6 { any; };
};

zone "localhost" IN {
        type master;
        file "localhost.zone";
        allow-update { none; };
        allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
        type master;
        file "127.0.0.zone";
        allow-update { none; };
        allow-transfer { any; };
};

zone "." IN {
        type hint;
        file "/var/named/root.hint";
};

//zone "example.org" IN {
//      type slave;
//      file "example.zone";
//      masters {
//              192.168.1.100;
//      };
//      allow-query { any; };
//      allow-transfer { any; };
//};

logging {
        channel xfer-log {
                file "/var/log/named.log";
                print-category yes;
                print-severity yes;
                print-time yes;
                severity info;
        };
        category xfer-in { xfer-log; };
        category xfer-out { xfer-log; };
        category notify { xfer-log; };
};