Executing through ssh

This check calls sudo to run /usr/sbin/rndc stats. This may be an issue if “Defaults requiretty” is set in /etc/sudoers, and you run the command through sh without opening a session at the remote host.

To resolve this, either remove “Defaults requiretty” from /etc/sudoers, or modify the script so that it doesn’t call sudo.