diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/dns-forwarding.xml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/op-mode-definitions/dns-forwarding.xml b/op-mode-definitions/dns-forwarding.xml index 785a05e9c..23de97704 100644 --- a/op-mode-definitions/dns-forwarding.xml +++ b/op-mode-definitions/dns-forwarding.xml @@ -2,6 +2,23 @@ <interfaceDefinition> <node name="show"> <children> + <node name="log"> + <children> + <node name="dns"> + <properties> + <help>Show log for Domain Name Service (DNS)</help> + </properties> + <children> + <node name="forwarding"> + <properties> + <help>Show log for DNS Forwarding</help> + </properties> + <command>cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e "pdns_recursor"</command> + </node> + </children> + </node> + </children> + </node> <node name="dns"> <properties> <help>Show DNS information</help> |