diff options
Diffstat (limited to 'roothints.service')
-rw-r--r-- | roothints.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/roothints.service b/roothints.service new file mode 100644 index 000000000000..83982519f7c2 --- /dev/null +++ b/roothints.service @@ -0,0 +1,9 @@ +[Unit] +Description=Update root hints for unbound +ConditionPathIsReadWrite=/etc/unbound/root.hints +After=network.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart="/usr/bin/curl" "-o" "/etc/unbound/root.hints" "https://www.internic.net/domain/named.cache" |