net-dns/unbound: add new files/unbound-anchor-r1.service

Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>
This commit is contained in:
Marc Schiffbauer 2025-05-15 02:28:11 +02:00
parent 098ddd9fc3
commit d21a26afb4
No known key found for this signature in database
GPG Key ID: 3837C63B4632EDBF

View File

@ -0,0 +1,15 @@
[Unit]
Description=Update of the root trust anchor for DNSSEC validation
Documentation=man:unbound-anchor(8)
After=network-online.target
Before=unbound.service
[Service]
Type=oneshot
User=unbound
Group=unbound
ExecStart=/usr/bin/unbound-anchor -a /etc/unbound/var/root-anchors.txt -c /etc/dnssec/icannbundle.pem
SuccessExitStatus=1
[Install]
WantedBy=multi-user.target