aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/dns.scm
diff options
context:
space:
mode:
author宋文武 <iyzsong@member.fsf.org>2020-01-22 20:13:13 +0800
committer宋文武 <iyzsong@member.fsf.org>2020-01-22 20:18:56 +0800
commit244db6bbc88fae7ba3426c057cfecb8706015939 (patch)
tree55a4eb50b72b9aeda844c58cc8363bcbfbb09095 /gnu/services/dns.scm
parent8a5c4384e059b83edb5869748706bad17ae5f8ff (diff)
downloadguix-244db6bbc88fae7ba3426c057cfecb8706015939.tar
guix-244db6bbc88fae7ba3426c057cfecb8706015939.tar.gz
services: knot-resolver: Manage a root TA at /var/cache/knot-resolver.
* gnu/services/dns.scm (%kresd.conf): Add /var/cache/knot-resolver/root.keys as the root TA.
Diffstat (limited to 'gnu/services/dns.scm')
-rw-r--r--gnu/services/dns.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/services/dns.scm b/gnu/services/dns.scm
index 43b6261c07..a07946d085 100644
--- a/gnu/services/dns.scm
+++ b/gnu/services/dns.scm
@@ -658,6 +658,7 @@
(define %kresd.conf
(plain-file "kresd.conf" "-- -*- mode: lua -*-
+trust_anchors.add_file('/var/cache/knot-resolver/root.keys')
net = { '127.0.0.1', '::1' }
user('knot-resolver', 'knot-resolver')
modules = { 'hints > iterate', 'stats', 'predict' }