Blame SOURCES/unbound-1.4.20-streamtcp-manpage.patch

59cea9
From 2af92efb1f128ef43313e890182ff23e94276dca Mon Sep 17 00:00:00 2001
59cea9
From: wouter <wouter@be551aaa-1e26-0410-a405-d3ace91eadb9>
59cea9
Date: Fri, 19 Jul 2013 10:46:16 +0000
59cea9
Subject: [PATCH] - streamtcp man page, contributed by Tomas Hozza.
59cea9
59cea9
git-svn-id: http://unbound.nlnetlabs.nl/svn/trunk@2924 be551aaa-1e26-0410-a405-d3ace91eadb9
59cea9
---
59cea9
 testcode/streamtcp.1 | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++
59cea9
 1 files changed, 66 insertions(+)
59cea9
 create mode 100644 testcode/streamtcp.1
59cea9
59cea9
diff --git a/testcode/streamtcp.1 b/testcode/streamtcp.1
59cea9
new file mode 100644
59cea9
index 0000000..7c738d9
59cea9
--- /dev/null
59cea9
+++ b/testcode/streamtcp.1
59cea9
@@ -0,0 +1,66 @@
59cea9
+.TH "unbound\-streamtcp" "1" "Mar 21, 2013" "NLnet Labs" "unbound"
59cea9
+.\"
59cea9
+.\" unbound-streamtcp.1 -- unbound DNS lookup utility
59cea9
+.\"
59cea9
+.SH "NAME"
59cea9
+.LP
59cea9
+.B unbound\-streamtcp
59cea9
+\- unbound DNS lookup utility
59cea9
+.SH "SYNOPSIS"
59cea9
+.LP
59cea9
+.B unbound\-streamtcp
59cea9
+.RB [ \-unsh ]
59cea9
+.RB [ \-f 
59cea9
+.IR ipaddr[@port] ]
59cea9
+.I name
59cea9
+.I type
59cea9
+.I class
59cea9
+.SH "DESCRIPTION"
59cea9
+.LP
59cea9
+.B unbound\-streamtcp
59cea9
+sends a DNS Query of the given \fBtype\fR and \fBclass\fR for the given \fBname\fR
59cea9
+to the DNS server over TCP and displays the response.
59cea9
+.P
59cea9
+If the server to query is not given using the \fB\-f\fR option then localhost
59cea9
+(127.0.0.1) is used. More queries can be given on one commandline, they
59cea9
+are resolved in sequence.
59cea9
+.P
59cea9
+The available options are:
59cea9
+.TP
59cea9
+.I name
59cea9
+This name is resolved (looked up in the DNS).
59cea9
+.TP
59cea9
+.I type
59cea9
+Specify the type of data to lookup.
59cea9
+.TP
59cea9
+.I class
59cea9
+Specify the class to lookup for.
59cea9
+.TP
59cea9
+.B \-u
59cea9
+Use UDP instead of TCP. No retries are attempted.
59cea9
+.TP
59cea9
+.B \-n
59cea9
+Do not wait for the answer.
59cea9
+.TP
59cea9
+.B \-s
59cea9
+Use SSL.
59cea9
+.TP
59cea9
+.B \-h
59cea9
+Print program usage.
59cea9
+.TP
59cea9
+.B \-f \fIipaddr[@port]
59cea9
+Specify the server to send the queries to. If not specified localhost (127.0.0.1) is used.
59cea9
+.SH "EXAMPLES"
59cea9
+.LP
59cea9
+Some examples of use.
59cea9
+.P
59cea9
+$ unbound\-streamtcp www.example.com A IN
59cea9
+.P
59cea9
+$ unbound\-streamtcp \-f 192.168.1.1 www.example.com SOA IN
59cea9
+.P
59cea9
+$ unbound\-streamtcp \-f 192.168.1.1@1234 153.1.168.192.in\-addr.arpa. PTR IN
59cea9
+.SH "EXIT CODE"
59cea9
+The unbound\-streamtcp program exits with status code 1 on error, 
59cea9
+0 on no error.
59cea9
+.SH "AUTHOR"
59cea9
+This manual page was written by Tomas Hozza <thozza@redhat.com>.
59cea9
-- 
59cea9
1.8.3.1
59cea9