From e33af1c845ae820809b88986218c3b3996260458 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 13 Dec 2020 15:22:19 +0100 Subject: [PATCH] bundles/unbound: refresh root-hint.txt once a week --- bundles/unbound/metadata.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/unbound/metadata.py b/bundles/unbound/metadata.py index e47a5f5..4c882bf 100644 --- a/bundles/unbound/metadata.py +++ b/bundles/unbound/metadata.py @@ -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', },