On 20/09/2019 14.06, Anand Buddhdev wrote:
In the meantime, if I want to move the root.keys file
somewhere else, am
I right in assuming that I need to add this to the config?
trust_anchors.add_file('/var/cache/knot-resolver/root.keys')
Correct. Just make sure to move the root.keys file to that location,
since bootstrap won't happen in this case. The default keyfile path was
baked-in at compile time, so kresd attempts to use that in case the
provided path doesn't exists. If the file is found, however, it will be
used and auto-managed with RFC 5011.
I'd also recommend using a different location, such as
/var/lib/knot-resolver to avoid any future issues in case you'd manually
delete the entire cache directory for some reason.
Alternatively, am I right in assuming that I can
disable RFC 5011 trust
anchor tracking with:
trust_anchors.add_file('root.keys', readonly=true)
You disable RFC 5011 with:
trust_anchors.add_file('/etc/knot-resolver/root.keys', true)
--
Tomas Krizek
PGP: 4A8B A48C 2AED 933B D495 C509 A1FB A5F7 EF8C 4869