diff options
author | Alexander Wittig <abgandar@gmail.com> | 2013-12-16 12:15:31 (GMT) |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-07-30 13:22:33 (GMT) |
commit | 8c623b1a432524950050ef6f2d273a87e013dacf (patch) | |
tree | 306f6270219c3086778b40e683150a510dcebbf7 /gl/xstrndup.h | |
parent | d8c20cc487f4dc361af553c57b8b4f8a4ab1dd29 (diff) | |
download | monitoring-plugins-8c623b1a432524950050ef6f2d273a87e013dacf.tar.gz |
check_dig: Fix to work with dig and drill tool
FreeBSD starting with version 10 is shipped with ldns instead of bind as
resolver. Consequently the dig tool in base is replaced by drill. While dig can
still be installed as a third party application, it would be nice to make do
with the tools available in the system already.
This patch rearranges the command line used to invoke dig slightly so that it
can be used with both dig and drill (tested with dig 9.8.3-P1 and 9.9.4 as well
as drill 1.6.16). It would be really neat if the configure script could be
changed to automatically pick up drill when dig is not available (or the other
way around), but my autotools-foo is not good enough for that.
This part of the patch is an extended version of the locally maintained patch
currently deployed in the FreeBSD ports tree by Dmitry Sivachenko.
Diffstat (limited to 'gl/xstrndup.h')
0 files changed, 0 insertions, 0 deletions