summarylogtreecommitdiffstats
path: root/roothints.service
blob: 83982519f7c2889b85097ed12d586b9acf2f157f (plain)
1
2
3
4
5
6
7
8
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"