All pastes #41004 Raw Edit

Miscellany

public text v1 · immutable
#41004 ·published 2006-02-10 13:42 UTC
rendered paste body
options {
    version "";
    directory "/var/named8";
    dump-file "/var/tmp/named_dump.db";
    pid-file "/var/run/named8/named8.pid";
    statistics-file "/var/tmp/named.stats";
    coresize 100M; 
    auth-nxdomain yes;
    query-source address * port *;
//    forwarders { 123.123.123.123; 124.124.124.124; };
//    forwarders { 10.1.1.2; 209.87.239.20; };
    allow-query { 127.0.0.1; };
    listen-on port 53 { 127.0.0.1; };
    cleaning-interval 120;
    transfers-in 20;
    transfers-per-ns 2;
    lame-ttl 0;
    max-ncache-ttl 10800;
    notify no; 
    transfer-format many-answers; 
    max-transfer-time-in 60; 
    interface-interval 0; 
};

// define logging channels
logging {

        channel security_channel {
                file "/var/log/named8/security.log" versions 4 size 10m;
                print-category yes;
                print-severity yes;
                print-time yes;
                severity info;
        };

        channel default_channel {
                file "/var/log/named8/default.log" versions 4 size 10m;
                print-category yes;
                print-severity yes;
                print-time yes;
        };

        channel xfer-in_channel {
                file "/var/log/named8/xfer-in.log" versions 4 size 10m;
                severity info;
                print-category yes;
                print-severity yes;
                print-time yes;
        };

        channel xfer-out_channel {
                file "/var/log/named8/xfer-out.log" versions 4 size 10m;
                severity info;
                print-category yes;
                print-severity yes;
                print-time yes;
        };

        channel notify_channel {
                file "/var/log/named8/notify.log" versions 4 size 10m;
                severity info;
                print-category yes;
                print-severity yes;
                print-time yes;
        };

        category security { security_channel; };
        category default { default_channel; };
        category xfer-in { xfer-in_channel; };
        category xfer-out { xfer-out_channel; };
        category notify { notify_channel; };
        category lame-servers { null; };
};

zone "0.0.127.in-addr.arpa" {
    type master;
    file "0.0.127.in-addr.arpa.db";
};

zone "1.1.10.in-addr.arpa" {
    type master;
    file "1.1.10.in-addr.arpa.db";
};

zone "." {
    type hint;
    file "root.cache";
};

zone "hoomaha.net" {
    type master;
    file "hoomaha.net.zone";
};