mirror of
https://github.com/NLnetLabs/unbound.git
synced 2024-09-21 14:47:09 +00:00
- streamtcp man page, contributed by Tomas Hozza.
git-svn-id: file:///svn/unbound/trunk@2924 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
1eba5e858f
commit
5ebf7d3a52
@ -1,3 +1,6 @@
|
||||
19 Jun 2013: Wouter
|
||||
- streamtcp man page, contributed by Tomas Hozza.
|
||||
|
||||
25 Jun 2013: Wouter
|
||||
- Squelch sendto-permission denied errors when the network is
|
||||
not connected, to avoid spamming syslog.
|
||||
|
66
testcode/streamtcp.1
Normal file
66
testcode/streamtcp.1
Normal file
@ -0,0 +1,66 @@
|
||||
.TH "unbound\-streamtcp" "1" "Mar 21, 2013" "NLnet Labs" "unbound"
|
||||
.\"
|
||||
.\" unbound-streamtcp.1 -- unbound DNS lookup utility
|
||||
.\"
|
||||
.SH "NAME"
|
||||
.LP
|
||||
.B unbound\-streamtcp
|
||||
\- unbound DNS lookup utility
|
||||
.SH "SYNOPSIS"
|
||||
.LP
|
||||
.B unbound\-streamtcp
|
||||
.RB [ \-unsh ]
|
||||
.RB [ \-f
|
||||
.IR ipaddr[@port] ]
|
||||
.I name
|
||||
.I type
|
||||
.I class
|
||||
.SH "DESCRIPTION"
|
||||
.LP
|
||||
.B unbound\-streamtcp
|
||||
sends a DNS Query of the given \fBtype\fR and \fBclass\fR for the given \fBname\fR
|
||||
to the DNS server over TCP and displays the response.
|
||||
.P
|
||||
If the server to query is not given using the \fB\-f\fR option then localhost
|
||||
(127.0.0.1) is used. More queries can be given on one commandline, they
|
||||
are resolved in sequence.
|
||||
.P
|
||||
The available options are:
|
||||
.TP
|
||||
.I name
|
||||
This name is resolved (looked up in the DNS).
|
||||
.TP
|
||||
.I type
|
||||
Specify the type of data to lookup.
|
||||
.TP
|
||||
.I class
|
||||
Specify the class to lookup for.
|
||||
.TP
|
||||
.B \-u
|
||||
Use UDP instead of TCP. No retries are attempted.
|
||||
.TP
|
||||
.B \-n
|
||||
Do not wait for the answer.
|
||||
.TP
|
||||
.B \-s
|
||||
Use SSL.
|
||||
.TP
|
||||
.B \-h
|
||||
Print program usage.
|
||||
.TP
|
||||
.B \-f \fIipaddr[@port]
|
||||
Specify the server to send the queries to. If not specified localhost (127.0.0.1) is used.
|
||||
.SH "EXAMPLES"
|
||||
.LP
|
||||
Some examples of use.
|
||||
.P
|
||||
$ unbound\-streamtcp www.example.com A IN
|
||||
.P
|
||||
$ unbound\-streamtcp \-f 192.168.1.1 www.example.com SOA IN
|
||||
.P
|
||||
$ unbound\-streamtcp \-f 192.168.1.1@1234 153.1.168.192.in\-addr.arpa. PTR IN
|
||||
.SH "EXIT CODE"
|
||||
The unbound\-streamtcp program exits with status code 1 on error,
|
||||
0 on no error.
|
||||
.SH "AUTHOR"
|
||||
This manual page was written by Tomas Hozza <thozza@redhat.com>.
|
Loading…
Reference in New Issue
Block a user