Show log for Domain Name Service (DNS)
Show log for DNS Forwarding
cat $(printf "%s\n" /var/log/messages* | sort -nr) | grep -e "pdns_recursor"
Show DNS information
Show DNS forwarding information
Show DNS forwarding statistics
sudo ${vyos_op_scripts_dir}/dns_forwarding_statistics.py
Restart specific DNS service
Restart DNS forwarding service
sudo ${vyos_op_scripts_dir}/dns_forwarding_restart.sh
Reset a DNS service state
Reset DNS forwarding cache
sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py $5
Reset DNS forwarding cache for a domain
sudo ${vyos_op_scripts_dir}/dns_forwarding_reset.py --all
Reset DNS forwarding cache