Changes

Jump to navigation Jump to search
711 bytes added ,  12:41, 5 December 2018
Line 68: Line 68:  
104    IN      PTR    git.rra.lan.
 
104    IN      PTR    git.rra.lan.
 
11      IN      PTR    wiki.rra.lan.
 
11      IN      PTR    wiki.rra.lan.
 +
</nowiki>
 +
 +
== Log to /var/log ==
 +
/etc/bind/named.conf.local
 +
<nowiki>//
 +
// Do any local configuration here
 +
//
 +
 +
// Consider adding the 1918 zones here, if they are not used in your
 +
// organization
 +
//include "/etc/bind/zones.rfc1918";
 +
 +
include "/etc/bind/named.conf.log";</nowiki>
 +
nano /etc/bind/named.conf.log
 +
<nowiki>logging {
 +
  channel bind_log {
 +
    file "/var/log/bind/bind.log" versions 3 size 5m;
 +
    severity info;
 +
    print-category yes;
 +
    print-severity yes;
 +
    print-time yes;
 +
  };
 +
  category default { bind_log; };
 +
  category update { bind_log; };
 +
  category update-security { bind_log; };
 +
  category security { bind_log; };
 +
  category queries { bind_log; };
 +
  category lame-servers { null; };
 +
};
 
</nowiki>
 
</nowiki>
  

Navigation menu