%{_bindir}/nproxy
%{_bindir}/nsec3dig
%{_bindir}/saxfr
+%{_bindir}/sdig
%{_mandir}/man1/dnsbulktest.1.gz
%{_mandir}/man1/dnsgram.1.gz
%{_mandir}/man1/dnsreplay.1.gz
%{_mandir}/man1/dnswasher.1.gz
%{_mandir}/man1/nsec3dig.1.gz
%{_mandir}/man1/saxfr.1.gz
+%{_mandir}/man1/sdig.1.gz
%files backend-mysql
%doc pdns/dnssec.schema.mysql.sql
%{_bindir}/nproxy
%{_bindir}/nsec3dig
%{_bindir}/saxfr
+%{_bindir}/sdig
%{_mandir}/man1/dnsbulktest.1.gz
%{_mandir}/man1/dnsgram.1.gz
%{_mandir}/man1/dnsreplay.1.gz
%{_mandir}/man1/dnswasher.1.gz
%{_mandir}/man1/nsec3dig.1.gz
%{_mandir}/man1/saxfr.1.gz
+%{_mandir}/man1/sdig.1.gz
%files backend-mysql
%doc modules/gmysqlbackend/schema.mysql.sql
#FIXME: shell loops hide errors
for prog in dnsbulktest dnsgram dnsreplay dnsscan dnsscope dnstcpbench dnswasher \
- notify nproxy nsec3dig saxfr ; do \
+ notify nproxy nsec3dig saxfr sdig ; do \
mv "$(tmpdir)"/usr/bin/$$prog "$(tools_tmpdir)"/usr/bin ; \
[ -e "$(tmpdir)"/usr/share/man/man8/"$$prog".8 ] && \
mv "$(tmpdir)"/usr/share/man/man8/"$$prog".8 "$(tools_tmpdir)"/usr/share/man/man8/ ; \
--- /dev/null
+% SDIG(1)
+% PowerDNS.com BV
+% September 2015
+
+# NAME
+**sdig** - Perform a DNS query and show the results
+
+# SYNOPSIS
+**sdig** *IPADDRESS* *PORT* *QNAME* *QTYPE* [*OPTIONS*]
+
+# DESCRIPTION
+**sdig** sends a DNS query to *IPADDRESS* on port *PORT* and displays the answer
+in a formatted way.
+
+# OPTIONS
+These options can be added to the commandline in any order.
+dnssec
+: Set the DO bit to request DNSSEC information.
+
+hidesoadetails
+: Don't show the SOA serial in the response.
+
+recurse
+: Set the RD bit in the question.
+
+showflags
+: Show the NSEC3 flags in the response.
+
+tcp
+: Use TCP instead of UDP to send the query.