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.
This commit is contained in:
宋文武 2020-01-22 20:13:13 +08:00
parent 8a5c4384e0
commit 244db6bbc8
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -658,6 +658,7 @@ (define-record-type* <knot-resolver-configuration>
(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' }