maybe chmod 0644 'logrotate.d/lightdm'
maybe chmod 0644 'logrotate.d/mintupdate'
maybe chmod 0644 'logrotate.d/mysql-server'
+maybe chmod 0644 'logrotate.d/named'
maybe chmod 0644 'logrotate.d/pm-utils'
maybe chmod 0644 'logrotate.d/ppp'
maybe chmod 0644 'logrotate.d/rsyslog'
maybe chmod 0644 'systemd/system.conf'
maybe chmod 0755 'systemd/system.conf.d'
maybe chmod 0644 'systemd/system.conf.d/50_linuxmint.conf'
-maybe chmod 0644 'systemd/system/bind9.service'
-maybe chmod 0755 'systemd/system/bind9.service.d'
-maybe chmod 0644 'systemd/system/bind9.service.d/override.conf'
+maybe chmod 0644 'systemd/system/bind9.service.deactivated'
maybe chmod 0755 'systemd/system/bluetooth.target.wants'
maybe chmod 0755 'systemd/system/cloud-final.service.wants'
maybe chmod 0755 'systemd/system/default.target.wants'
maybe chmod 0644 'systemd/system/local.service'
maybe chmod 0755 'systemd/system/mdmonitor.service.wants'
maybe chmod 0755 'systemd/system/multi-user.target.wants'
+maybe chmod 0755 'systemd/system/named.service.d'
+maybe chmod 0644 'systemd/system/named.service.d/override.conf'
maybe chmod 0755 'systemd/system/netfilter-persistent.service.d'
maybe chmod 0644 'systemd/system/netfilter-persistent.service.d/iptables.conf'
maybe chmod 0755 'systemd/system/network-online.target.wants'
--- /dev/null
+/var/log/bind/complete-debug.log /var/log/bind/debug.log /var/log/bind/query.log /var/log/bind/security.log {
+ daily
+ olddir /var/log/bind/.old
+ dateext
+ size 4M
+ rotate 10
+ notifempty
+ missingok
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /usr/sbin/rndc reload
+ endscript
+}
+
+/var/log/bind/named.log {
+ daily
+ olddir /var/log/bind/.old
+ dateext
+ size 10M
+ rotate 20
+ notifempty
+ missingok
+ compress
+ delaycompress
+ sharedscripts
+ postrotate
+ /usr/sbin/rndc reload
+ endscript
+}
+
+
+# vim: ts=4 filetype=conf
+++ /dev/null
-[Unit]
-Description=BIND Domain Name Server
-Documentation=man:named(8)
-Wants=nss-lookup.target
-After=networking.service
-Before=nss-lookup.target display-manager.service chrony.service openvpn.service postfix.service smbd.service ssh.service systemd-resolved.service
-
-[Service]
-EnvironmentFile=/etc/default/bind9
-ExecStart=/usr/sbin/named -f $OPTIONS
-ExecReload=/usr/sbin/rndc reload
-ExecStop=/usr/sbin/rndc stop
-
-[Install]
-WantedBy=multi-user.target
--- /dev/null
+[Unit]
+Description=BIND Domain Name Server
+Documentation=man:named(8)
+Wants=nss-lookup.target
+After=networking.service
+Before=nss-lookup.target display-manager.service chrony.service openvpn.service postfix.service smbd.service ssh.service systemd-resolved.service
+
+[Service]
+EnvironmentFile=/etc/default/bind9
+ExecStart=/usr/sbin/named -f $OPTIONS
+ExecReload=/usr/sbin/rndc reload
+ExecStop=/usr/sbin/rndc stop
+
+[Install]
+WantedBy=multi-user.target