Including roothints update service for Unbound

This commit is contained in:
Bruno F. Fontes 2019-11-24 01:07:41 -03:00
parent 36d53be1af
commit 626faf6ce2
Signed by: brunofontes
GPG Key ID: EE3447CE80048495
2 changed files with 15 additions and 0 deletions

View File

@ -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

9
Services/roothints.timer Normal file
View File

@ -0,0 +1,9 @@
[Unit]
Description=Run root.hints monthly
[Timer]
OnCalendar=monthly
Persistent=true
[Install]
WantedBy=timers.target