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

diagnostics dns: log resolv.conf* even from /tmp

Forwarders are listed in /tmp/resolv.conf.auto
and we want to see them as well.
parent 94023336
No related branches found
No related tags found
1 merge request!17Improve DNS diagnostics
......@@ -9,6 +9,9 @@ run () {
uci -q show resolver
echo
echo "== resolv.conf* =="
grep -H '' /etc/resolv.conf* /tmp/resolv.conf*
echo "== DNSSEC root key file =="
ROOTKEYFILE=$(uci get resolver.common.keyfile)
ls -al "${ROOTKEYFILE}"
......@@ -16,8 +19,6 @@ run () {
grep -H '' "${ROOTKEYFILE}"
echo
grep -H '' /etc/resolv.conf*
# try to resolve some server
nslookup api.turris.cz 127.0.0.1 # should pass
nslookup www.rhybar.cz 127.0.0.1 # should fail
......
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