While I notice that check_dns was not been compile by default, I follow
https://support.nagios.com/forum/viewto ... =7&t=11660 to make check_dns again from source but there is some error come out. And also cannot find [char NSLOOKUP_COMMAND = "/usr/bin/nslookup";] in check_dns.c.
root@raspberrypi:~/nagios-plugins-release-2.2.1/plugins# make check_dns
2.2.1.git
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include -DNP_VERSION='"2.2.1.git"' -g -O2 -MT check_dns.o -MD -MP -MF .deps/check_dns.Tpo -c -o check_dns.o check_dns.c
check_dns.c: In function ‘check_new_address’:
check_dns.c:88:65: error: ‘NSLOOKUP_COMMAND’ undeclared (first use in this function)
die (STATE_CRITICAL, "%s%s%s\n", _("DNS CRITICAL - '"), NSLOOKUP_COMMAND, _("' returned empty host name string"));
^~~~~~~~~~~~~~~~
check_dns.c:88:65: note: each undeclared identifier is reported only once for each function it appears in
check_dns.c: In function ‘main’:
check_dns.c:129:44: error: ‘NSLOOKUP_COMMAND’ undeclared (first use in this function)
xasprintf (&command_line, "%s %s %s %s", NSLOOKUP_COMMAND, query_type, query_address, dns_server);
^~~~~~~~~~~~~~~~
Makefile

recipe for target 'check_dns.o' failed
make: *** [check_dns.o] Error 1
Looking forward your great reply.