|
@ -46,11 +46,8 @@ EOF |
|
|
|
|
|
|
|
|
cat <<EOF >> /etc/logrotate.d/named |
|
|
cat <<EOF >> /etc/logrotate.d/named |
|
|
|
|
|
|
|
|
# logrotate.d example configuration for dns in user log config, |
|
|
|
|
|
# contributed by Lab Valentin based on Dag Wieers distcc logrotate.d example. |
|
|
|
|
|
|
|
|
|
|
|
# The "copytruncate" option means fetchmail can keep appending to the |
|
|
|
|
|
# same filehandle. You would otherwise need to make sure fetchmail is not |
|
|
|
|
|
|
|
|
# The "copytruncate" option means the process can keep appending to the |
|
|
|
|
|
# same filehandle. You would otherwise need to make sure it is not |
|
|
# running. |
|
|
# running. |
|
|
|
|
|
|
|
|
/var/log/named/*.log { |
|
|
/var/log/named/*.log { |
|
@ -67,6 +64,7 @@ chown bind:bind /var/log/named |
|
|
|
|
|
|
|
|
## |
|
|
## |
|
|
## BEWARE of recursion (recursion allow your server to answer queries in which he is NOT SOA |
|
|
## BEWARE of recursion (recursion allow your server to answer queries in which he is NOT SOA |
|
|
|
|
|
## which IS NEEDED if you want your DNS to be a general purpose DNS. |
|
|
## |
|
|
## |
|
|
|
|
|
|
|
|
|
|
|
|
|
|