All pastes #248948 Raw Edit

Something

public text v1 · immutable
#248948 ·published 2006-11-15 05:30 UTC
rendered paste body
// This is a configuration file for named (from BIND 8.1 or later).
// It would normally be installed as /etc/named.conf.

options {
        directory "/var/named";
        check-names master warn;                /* default. */
        datasize 20M;
//      deallocate-on-exit yes;
        listen-on { 10.0.0.53; };
};

zone "localhost" IN {
        type master;
        file "named.local";
        check-names fail;
        allow-update { none; };
        allow-transfer { any; };
};

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

zone "." IN {
        type hint;
        file "cache.db";
};
logging {
        channel xfer-log {
                file "/var/tmp/bind-xfer.log" versions unlimited size 10m;
                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; };
        category load { xfer-log; };
};