]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
unbound: Update trust anchor once a day
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Aug 2016 14:20:07 +0000 (15:20 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 6 Aug 2016 14:20:07 +0000 (15:20 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/cron/crontab

index c42c65080899216bc4c90f86bbd10200879faf4f..c6d8a725c73ec49c76a3cb807f31aed121654029 100644 (file)
@@ -67,3 +67,6 @@ HOME=/
 
 # Cleanup the mail spool directory
 %weekly * * /usr/sbin/dma-cleanup-spool
+
+# Update DNS trust anchor
+%daily,random * * @runas(nobody) /usr/sbin/unbound-anchor -a /var/lib/unbound/root.key -c /etc/unbound/icannbundle.pem