1unbound-streamtcp(1) unbound unbound-streamtcp(1)
2
3
4
6 unbound-streamtcp - unbound DNS lookup utility
7
9 unbound-streamtcp [-unsh] [-f ipaddr[@port]] [-d secs] name type class
10
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
32 sequence without waiting for answer but if answers arrive in
33 this time they are printed out. After sending queries the pro‐
34 gram 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
42 localhost (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
50 Some examples of use.
51
52 $ unbound-streamtcp www.example.com A IN
53
54 $ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN
55
56 $ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR
57 IN
58
60 The unbound-streamtcp program exits with status code 1 on error, 0 on
61 no error.
62
64 This manual page was written by Tomas Hozza <thozza@redhat.com>.
65
66
67
68NLnet Labs Mar 21, 2013 unbound-streamtcp(1)