[Nagiosplug-help] check_dig and AXFR requests

Max Newell mnewell at sconex.com
Wed Jul 16 18:43:59 CEST 2008


Hello,

I want to be able to check that AXFR zone transfer queries are properly
being answered. Am I missing something with check_dig?

This is a dig query that I can use to see that AXFR queries are properly
being answered:

$ dig @dnshostname -p 53 domain-to-check.com -t axfr
(zone data follows)

However, when I try to execute the same query on the same host with
check_dig, check_dig thinks it's failing:

$ check_dig -H dnshostname -l domain-to-check.com -T axfr -v
/usr/bin/dig @dnshostname -p 53 domain-to-check.com -t axfr
Looking for: 'domain-to-check.com'
DNS UNKNOWN - 0.014 seconds response time (No ANSWER SECTION
found)|time=0.013830s;;;0.000000

I'm using check_dig that I compiled from the 1.4.12 source.

The zone transfer data does not include the token ANSWER SECTION, but
it's certainly returning valid data.

Any insight on how I can resolve this?

Thanks,
Max




More information about the Help mailing list