--- /dev/null
+commit cf8bb3b1eb003c921c14bed986c79b03eef215ee
+Author: Arkadiusz Miśkiewicz <arekm@maven.pl>
+Date: Fri Mar 9 12:33:42 2018 +0100
+
+ check_dns_name for checking if specified name resolves
+
+diff --git a/commands/check_dns.cfg b/commands/check_dns.cfg
+index 092c0a8..01ab269 100644
+--- a/commands/check_dns.cfg
++++ b/commands/check_dns.cfg
+@@ -4,6 +4,12 @@ define command {
+ command_line /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H www.yahoo.com $ARG1$
+ }
+
++# 'check_dns_name' command definition
++define command {
++ command_name check_dns_name
++ command_line /usr/lib/nagios/plugins/check_dns -s $HOSTADDRESS$ -H $ARG1$ $ARG2$
++}
++
+ # check if DNSBL is returning success on test record 127.0.0.2
+ define command {
+ command_name check_dnsbl
Summary(pl.UTF-8): Wtyczki do monitorowania hostów/usług/sieci dla Nagiosa
Name: nagios-plugins
Version: 2.2.1
-Release: 5
+Release: 6
License: GPL v3
Group: Networking
Source0: http://www.nagios-plugins.org/download/%{name}-%{version}.tar.gz
Patch8: %{name}-check_disk_smb-zero-cap.patch
Patch9: %{name}-paths.patch
Patch10: %{name}-ping.patch
+Patch11: dns-config.patch
URL: http://www.nagiosplugins.org/
BuildRequires: autoconf
BuildRequires: automake
%patch8 -p1
%patch9 -p1
%patch10 -p1
+%patch11 -p1
# remove libtool m4 macro copies, breaks when system libtool is older
%{__rm} gl/m4/libtool.m4 gl/m4/lt*.m4