check_dns is provided by nagios-plugins

nagios-plugins are installed in /usr/lib/nagios/plugins and that's where the check_dns binary is.