diff --git a/Services/roothints.service b/Services/roothints.service new file mode 100644 index 0000000..c6d87af --- /dev/null +++ b/Services/roothints.service @@ -0,0 +1,6 @@ +[Unit] +Description=Update root hints for unbound +After=network.target + +[Service] +ExecStart=/usr/bin/curl -o /etc/unbound/root.hints https://www.internic.net/domain/named.cache diff --git a/Services/roothints.timer b/Services/roothints.timer new file mode 100644 index 0000000..7a4c88c --- /dev/null +++ b/Services/roothints.timer @@ -0,0 +1,9 @@ +[Unit] +Description=Run root.hints monthly + +[Timer] +OnCalendar=monthly +Persistent=true + +[Install] +WantedBy=timers.target