Skip to content
Snippets Groups Projects
Commit 94023336 authored by Petr Špaček's avatar Petr Špaček
Browse files

diagnostics dns: log actual DNSSEC root key file content

Root key is not a sensitive information and it is easier
to work with raw data instead of MD5 hash.
parent 774a58d3
No related branches found
No related tags found
1 merge request!17Improve DNS diagnostics
......@@ -9,11 +9,11 @@ run () {
uci -q show resolver
echo
# root key
ls -al /etc/root.keys
md5sum /etc/root.keys
ls -al /etc/unbound/root.key
md5sum /etc/unbound/root.key
echo "== DNSSEC root key file =="
ROOTKEYFILE=$(uci get resolver.common.keyfile)
ls -al "${ROOTKEYFILE}"
md5sum "${ROOTKEYFILE}"
grep -H '' "${ROOTKEYFILE}"
echo
grep -H '' /etc/resolv.conf*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment