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

diagnostics dns: log information about running resolver process

parent 1bdcceed
No related branches found
No related tags found
1 merge request!17Improve DNS diagnostics
......@@ -19,6 +19,10 @@ run () {
grep -H '' "${ROOTKEYFILE}"
echo
echo "== resolver process =="
RESOLVER="$(uci get resolver.common.prefered_resolver)"
ps w | grep ${RESOLVER}
# 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