[dnstap] Could not integrate dnstap into logrotate: dnstap does not "obey" `named reload`
Harald A. Irmer
Harald.Irmer at kit.edu
Fri Aug 11 17:03:06 UTC 2017
Hi,
I integrated dnstap into /var/named/log: log_dnstap
/etc/logrotate.d/bind:
/var/named/log/log_* {
daily
rotate 10
nomail
compress
delaycompress
shred
missingok
notifempty
create 0664 dns dns
su dns dns
dateext
dateyesterday
olddir OLD
createolddir 0664 dns dns
sharedscripts
postrotate
/etc/init.d/named reload > /dev/null
find /var/named/log/OLD -mtime +10 -exec rm -f {} \;
endscript
}
Is it possible that dnstab "obeys" `named reload`?
That would be nice
Yours
Harald
--
Karlsruher Institut für Technologie (KIT)
Fakultät für Informatik
ATIS – Abteilung Technische Infrastruktur
Harald A. Irmer
Mitarbeiter Datennetz
Am Fasanengarten 5
Gebäude 50.34, Raum 008
76131 Karlsruhe
Telefon: +49 721 608 – 46963
Fax: +49 721 608 – 46699
E-Mail: Harald.Irmer at kit.edu
Web: www.atis.informatik.kit.edu/413_420.php
www.kit.edu
KIT – Die Forschungsuniversität in der Helmholtz-Gemeinschaft
Das KIT ist seit 2010 als familiengerechte Hochschule zertifiziert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5391 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.redbarn.org/pipermail/dnstap/attachments/20170811/6cec78a3/attachment-0001.bin>
More information about the dnstap
mailing list