]> granicus.if.org Git - pdns/commitdiff
Add dumresp manpages and add dumresp to pdns-tools
authorPieter Lexis <pieter.lexis@powerdns.com>
Fri, 29 Apr 2016 15:38:09 +0000 (17:38 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Fri, 29 Apr 2016 15:38:09 +0000 (17:38 +0200)
build-scripts/build-auth-rpm
build-scripts/debian-authoritative/pdns-tools.install
build-scripts/debian-authoritative/pdns-tools.manpages
docs/Makefile.am
docs/manpages/dumresp.1.md [new file with mode: 0644]

index d15af6a56370347a756a3a1e9f3df543fca8d6e1..077fada6681567585564d5e33775a266a69639cd 100755 (executable)
@@ -254,6 +254,7 @@ fi
 %{_mandir}/man1/dnsscope.1.gz
 %{_mandir}/man1/dnstcpbench.1.gz
 %{_mandir}/man1/dnswasher.1.gz
+%{_mandir}/man1/dumresp.1.gz
 %{_mandir}/man1/ixplore.1.gz
 %{_mandir}/man1/nsec3dig.1.gz
 %{_mandir}/man1/saxfr.1.gz
@@ -527,6 +528,7 @@ exit 0
 %{_mandir}/man1/dnsscope.1.gz
 %{_mandir}/man1/dnstcpbench.1.gz
 %{_mandir}/man1/dnswasher.1.gz
+%{_mandir}/man1/dumresp.1.gz
 %{_mandir}/man1/ixplore.1.gz
 %{_mandir}/man1/nsec3dig.1.gz
 %{_mandir}/man1/saxfr.1.gz
@@ -783,6 +785,7 @@ exit 0
 %{_mandir}/man1/dnsscope.1.gz
 %{_mandir}/man1/dnstcpbench.1.gz
 %{_mandir}/man1/dnswasher.1.gz
+%{_mandir}/man1/dumresp.1.gz
 %{_mandir}/man1/ixplore.1.gz
 %{_mandir}/man1/nsec3dig.1.gz
 %{_mandir}/man1/saxfr.1.gz
index 046caf0c4f24396602fbd05031a31c1eacfd4fc5..f52da85c6f0cb4256dbaa60231bee22b8fe46492 100644 (file)
@@ -6,6 +6,7 @@ usr/bin/dnsscan
 usr/bin/dnsscope
 usr/bin/dnstcpbench
 usr/bin/dnswasher
+usr/bin/dumresp
 usr/bin/ixplore
 usr/bin/notify
 usr/bin/nsec3dig
index b3e8663a4f15437e563e1bbbbfc7f0dc0f771114..525025e078eff30d9a9a365e708f6aae3e14139e 100644 (file)
@@ -6,6 +6,7 @@ debian/tmp/usr/share/man/man1/dnsscan.1
 debian/tmp/usr/share/man/man1/dnsscope.1
 debian/tmp/usr/share/man/man1/dnstcpbench.1
 debian/tmp/usr/share/man/man1/dnswasher.1
+debian/tmp/usr/share/man/man1/dumresp.1
 debian/tmp/usr/share/man/man1/ixplore.1
 debian/tmp/usr/share/man/man1/nsec3dig.1
 debian/tmp/usr/share/man/man1/saxfr.1
index 4a6eb6bbe5b95dfe1faa30d1e37424cdf29275f1..6e51b9ad0284bf2077c2681d4ff4fa9b07eba3d9 100644 (file)
@@ -13,6 +13,7 @@ MANPAGES_TARGET_TOOLS = calidns.1 \
        dnsscope.1 \
        dnstcpbench.1 \
        dnswasher.1 \
+       dumresp.1 \
        ixplore.1 \
        nsec3dig.1 \
        saxfr.1 \
diff --git a/docs/manpages/dumresp.1.md b/docs/manpages/dumresp.1.md
new file mode 100644 (file)
index 0000000..b22c624
--- /dev/null
@@ -0,0 +1,21 @@
+% DUMRESP(1)
+% PowerDNS.com BV
+% April 2016
+
+# NAME
+**dumresp** - A dumb DNS responder
+
+# SYNOPSIS
+ **dumresp** *LOCAL-ADDRESS* *LOCAL-PORT* *NUMBER-OF-PROCESSES*
+
+# DESCRIPTION
+**dumresp** accepts DNS packets on *LOCAL-ADDRESS*:*LOCAL-PORT* and simply replies
+with the same query, with the QR bit set. When *NUMBER-OF-PROCESSES* is set to
+anything but 1, **dumresp** will spawn *NUMBER-OF-PROCESSES* forks and use the
+SO_REUSEPORT option to bind to the port.
+
+# OPTIONS
+None
+
+# SEE ALSO
+socket(7)