bundles/unbound: refresh root-hint.txt once a week
This commit is contained in:
parent
9c6fe48859
commit
e33af1c845
1 changed files with 7 additions and 0 deletions
|
@ -5,6 +5,13 @@ defaults = {
|
||||||
'unbound-anchor': {},
|
'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': {
|
'nameservers': {
|
||||||
'127.0.0.1',
|
'127.0.0.1',
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue