bundles/unbound: refresh root-hint.txt once a week

This commit is contained in:
Franzi 2020-12-13 15:22:19 +01:00
parent 9c6fe48859
commit e33af1c845
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -5,6 +5,13 @@ defaults = {
'unbound-anchor': {},
},
},
'cron': {
'unbound_refresh_root-hints': '{} {} * * {} root wget -O/etc/unbound/root-hints.txt https://www.internic.net/domain/named.root >/dev/null'.format(
node.magic_number%60,
node.magic_number%24,
node.magic_number%7,
),
},
'nameservers': {
'127.0.0.1',
},