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