mirror of
https://github.com/brunofontes/linuxShortcuts.git
synced 2024-11-23 21:20:50 +00:00
Including roothints update service for Unbound
This commit is contained in:
parent
36d53be1af
commit
626faf6ce2
6
Services/roothints.service
Normal file
6
Services/roothints.service
Normal 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
9
Services/roothints.timer
Normal file
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Run root.hints monthly
|
||||
|
||||
[Timer]
|
||||
OnCalendar=monthly
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue
Block a user