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

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