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       -s     Use SSL.
32
33       -h     Print program usage.
34
35       -f ipaddr[@port]
36              Specify the server to send the  queries  to.  If  not  specified
37              localhost (127.0.0.1) is used.
38
39       -d secs
40              Delay after the connection before sending query.  This tests the
41              timeout on the other side, eg.  if  shorter  the  connection  is
42              closed.
43

EXAMPLES

45       Some examples of use.
46
47       $ unbound-streamtcp www.example.com A IN
48
49       $ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN
50
51       $ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR
52       IN
53

EXIT CODE

55       The unbound-streamtcp program exits with status code 1 on error,  0  on
56       no error.
57

AUTHOR

59       This manual page was written by Tomas Hozza <thozza@redhat.com>.
60
61
62
63NLnet Labs                       Mar 21, 2013             unbound-streamtcp(1)
Impressum