unbound-streamtcp man page

unbound-streamtcp — unbound DNS lookup utility


unbound-streamtcp [-unsh] [-f ipaddr[@port]] name type class


unbound-streamtcp sends a DNS Query of the given type and class for the given name to the DNS server over TCP and displays the response.

If the server to query is not given using the -f option then localhost ( is used. More queries can be given on one commandline, they are resolved in sequence.

The available options are:

This name is resolved (looked up in the DNS).
Specify the type of data to lookup.
Specify the class to lookup for.
Use UDP instead of TCP. No retries are attempted.
Do not wait for the answer.
Use SSL.
Print program usage.
-f ipaddr[@port]
Specify the server to send the queries to. If not specified localhost ( is used.


Some examples of use.

$ unbound-streamtcp www.example.com A IN

$ unbound-streamtcp -f www.example.com SOA IN

$ unbound-streamtcp -f PTR IN

Exit Code

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


This manual page was written by Tomas Hozza <thozza@redhat.com>.


NLnet Labs unbound Mar 21, 2013