Skip to content
Snippets Groups Projects

Improve DNS diagnostics

Merged Petr Špaček requested to merge diagnostics_dns into master
Viewing commit 1bdcceed
Show latest version
1 file
+ 3
2
Preferences
Compare changes
@@ -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