Skip to content
Snippets Groups Projects
Verified Commit 62ba1cf9 authored by Jan Pavlinec's avatar Jan Pavlinec
Browse files

dns: add section with forward_custom config

parent f7574ff0
Branches
Tags
1 merge request!13Extend DNS and DHCP diagnostics
......@@ -41,6 +41,15 @@ run () {
dump_file "/tmp/kresd.config"
fi
forward_custom="$(uci -q get resolver.common.forward_custom)"
if [ ! -z "$forward_custom" ]; then
section "Custom forwarders configs"
for file in /etc/resolver/dns_servers/*.conf; do
dump_file "$file"
done
fi
section "DHCP config"
uci -q show dhcp
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment