BIND - Named Name server

Logging

logging {
        channel default_debug {
                file "data/named.run";
                severity dynamic;
	        };
        channel syslogd  {
                file "/var/log/named/named.log" versions 2 size 5m ;
                severity info;
                print-category yes;
                print-severity yes;
                print-time yes;
                };
        channel queries-ch {
                file "/var/log/named/dns-queries.log" ;
                print-time yes ;
                severity dynamic ;
                };
        channel xfer-ch {
                file "/var/log/named/xfer.log" versions 2 size 5m ;
                severity info;
                print-time yes;
                };

	channel security_file {
        	file "/var/log/named/security.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};

	channel config_file {
        	file "/var/log/named/config.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
	channel resolver_file {
        	file "/var/log/named/resolver.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};

	channel notify_file {
        	file "/var/log/named/notify.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
    	channel client_file {
        	file "/var/log/named/client.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
    	channel unmatched_file {
        	file "/var/log/named/unmatched.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
    	channel network_file {
        	file "/var/log/named/network.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};



	channel update_file {
        	file "/var/log/named/update.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
	    	};

    	channel dispatch_file {
        	file "/var/log/named/dispatch.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
    	channel dnssec_file {
        	file "/var/log/named/dnssec.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
    	channel lame-servers_file {
        	file "/var/log/named/lame-servers.log" versions 3 size 5m;
        	severity dynamic;
        	print-time yes;
    		};
        category "default"  { syslogd ; };
        category "queries"  { queries-ch; };
	category "security" { security_file; };
	category "config" { config_file; };
	category "resolver" { resolver_file; };
	category "notify" { notify_file; };
    	category "client" { client_file; };
    	category "unmatched" { unmatched_file; };
    	category "network" { network_file; };
	category "update" { update_file; };
	category "dispatch" { dispatch_file; };
	category "dnssec" { dnssec_file; };
	category "lame-servers" { lame-servers_file; };
};

This page has been accessed:-
Today: 1
Yesterday: 0
Until now: 311

 
linux/dns-bind-named.txt · Last modified: 05/12/2022 14:52 by andrew