1unbound-streamtcp(1)                unbound               unbound-streamtcp(1)
2
3
4

NAME

6       unbound-streamtcp - unbound DNS lookup utility
7

SYNOPSIS

9       unbound-streamtcp [-unsh] [-f ipaddr[@port]] [-d secs] name type class
10

DESCRIPTION

12       unbound-streamtcp sends a DNS Query of the given type and class for the
13       given name to the DNS server over TCP and displays the response.
14
15       If the server to query is not given using the -f option then  localhost
16       (127.0.0.1) is used. More queries can be given on one commandline, they
17       are resolved in sequence.
18
19       The available options are:
20
21       name   This name is resolved (looked up in the DNS).
22
23       type   Specify the type of data to lookup.
24
25       class  Specify the class to lookup for.
26
27       -u     Use UDP instead of TCP. No retries are attempted.
28
29       -n     Do not wait for the answer.
30
31       -a     Print answers on arrival.  This mean queries  are  sent  in  se‐
32              quence  without waiting for answer but if answers arrive in this
33              time they are printed out.  After sending  queries  the  program
34              waits and prints the remainder.
35
36       -s     Use SSL.
37
38       -h     Print program usage.
39
40       -f ipaddr[@port]
41              Specify  the server to send the queries to. If not specified lo‐
42              calhost (127.0.0.1) is used.
43
44       -d secs
45              Delay after the connection before sending query.  This tests the
46              timeout  on  the  other  side,  eg. if shorter the connection is
47              closed.
48
49       -p client
50              Use proxy protocol to send the query. Specify the  ipaddr@portnr
51              of the client to include in PROXYv2.
52
53       IXFR=serial
54              Pass  the type of the query as IXFR=N to send an IXFR query with
55              serial N.
56
57       NOTIFY[=serial]
58              Pass the type of the  query  as  NOTIFY[=N]  to  send  a  notify
59              packet. The serial N of the new zone can be included.
60

EXAMPLES

62       Some examples of use.
63
64       $ unbound-streamtcp www.example.com A IN
65
66       $ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN
67
68       $ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR
69       IN
70

EXIT CODE

72       The unbound-streamtcp program exits with status code 1 on error,  0  on
73       no error.
74

AUTHOR

76       This manual page was written by Tomas Hozza <thozza@redhat.com>.
77
78
79
80NLnet Labs                       Mar 21, 2013             unbound-streamtcp(1)
Impressum