Bind

From Federal Burro of Information
Jump to navigationJump to search

generate

152-asav-gw                        IN      A       10.201.52.0
asav-gw                            IN      A       10.201.52.1
$GENERATE       2-100   10-201-52-$             A       10.201.52.$
$GENERATE       1-1     egw-in-$        IN      A       10.201.52.${100}
$GENERATE       1-1     egw-out-$       IN      A       10.201.52.${200}

Logging

logging
{
        channel mydefaultlog {
                file "/var/log/named/named.log" versions 2 size 100m;
                print-time yes;
                print-category yes;
                print-severity yes;
                severity info;
        };

        channel mysecuritylog {
                file "/var/log/named/security.log" versions 2 size 100m;
                print-time yes;
                print-category yes;
                print-severity yes;
                severity info;
        };

        channel myquerylog {
                file "/var/log/named/query.log" versions 2 size 100m;
                print-time yes;
                print-category yes;
                print-severity yes;
                severity info;
        };

        channel default_debug {
                file "/var/log/named/debug.log" versions 2 size 100m;
                //print-time yes;
                //print-category yes;
                //print-severity yes;
                severity dynamic;
        };

        //category client               { default_debug; };
        category default        { mydefaultlog; };
        category general        { mydefaultlog; };
        category security       { mysecuritylog; };
        // For debugging only please - dthornton
        // category queries     { myquerylog; };
        category queries        { null; };
        category lame-servers   { null; };
};