Most user who are new to Nagios doesn’t know there is a hidden plug-in called check_dns in Nagios Monitoring system. On FreeBSD server, the binary can be found at /usr/local/libexec/nagios. List the directory and you should see check_dns.
check_dns usage is as below
$ ./check_dns -H host [-s server] [-a expected-address] [-A] [-t timeout] [-w warn] [-c crit]
Try to run the command as below and you will get the query result
$ ./check_dns -H systems.takizo.com -s 18.104.22.168 DNS OK: 0.012 seconds response time. systems.takizo.com returns 22.214.171.124|time=0.011703s;;;0.000000