[Nagiosplug-devel] [ nagiosplug-Feature Requests-2630414 ] TCP/UDP-option(s) for check_dns

SourceForge.net noreply at sourceforge.net
Tue Feb 24 10:04:20 CET 2009


Feature Requests item #2630414, was opened at 2009-02-23 10:12
Message generated for change (Comment added) made by dermoth
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=2630414&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: Werner (forsbring)
>Assigned to: Thomas Guyot-Sionnest (dermoth)
Summary: TCP/UDP-option(s) for check_dns

Initial Comment:
Hi,

could you please add options to choose TCP or UDP for DNS query with check_dns?


- Werner

Plugin Version (-V output): check_dns v1992 (nagios-plugins 1.4.13)
Plugin Name: check_dns
Operating System: RHEL5.3
Architecture: x86_64
Compiler: gcc


----------------------------------------------------------------------

>Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-02-24 04:04

Message:
Oh, correction:

check_dig and check_dns use dig and nslookup respectively

check_dig has the option you need (-A "+tcp"). Nslookup does not seem to
support any such option so I'll close this bug.

----------------------------------------------------------------------

Comment By: Thomas Guyot-Sionnest (dermoth)
Date: 2009-02-23 18:23

Message:
TCP is not needed in DNS - it's only used for transferring large amount of
data like zone transfers.

check_dns and check_nslookup use dig and nslookup respectively for making
queries, and I'm not sure if either of them can allow that (I'll check
later - I doubt for nslookup as it would unlikely be portable)

You can still force them to use TCP by requesting large chunk of data; for
example you can set the query type to AXFR on a large zone. You will need
to be allowed for zone transfers though.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397600&aid=2630414&group_id=29880




More information about the Devel mailing list