unbound-streamtcp(1)
β¨ unbound-streamtcp β the unbound DNS lookup utility β¨
okay bestie, welcome to unbound-streamtcp(1), part of the unbound manual set π this little cutie is a DNS lookup utility and it's literally about to be your new fave.
πΈ SYNOPSIS πΈ
unbound-streamtcp [-unsh] [-f ipaddr[@port]] [-d secs] name type class
π DESCRIPTION π
So here's the vibe: unbound-streamtcp takes a DNS Query β of whatever type and class you want, for whatever name you want β and sends it to the DNS server over TCP, then shows you the response. no cap. π
And if you didn't tell it which server to hit with the -f option? It just defaults to localhost, aka 127.0.0.1. easy. And here's the cute part: you can stack more queries on one commandline and they get resolved in sequence, one after another. slay. β¨
The available options are:
nameβ this is the name being resolved (looked up in the DNS).typeβ specify the type of data to lookup.classβ specify the class to lookup for.-uβ use UDP instead of TCP. heads up though, no retries are attempted.-nβ do not wait for the answer. bye, we're not sticking around π¦-aβ print answers on arrival. what this means is queries get sent in sequence without waiting for the answer, but if answers show up during that time they get printed out. then after all the queries are sent, the program waits and prints whatever's left. bestie it's giving multitasking π-sβ use SSL.-hβ print program usage.-f ipaddr[@port]β specify the server to send the queries to. if you don't specify it, localhost (127.0.0.1) is what you get.-d secsβ delay after the connection before sending the query. this tests the timeout on the other side β like, if the timeout over there is shorter, the connection gets closed. π₯-p clientβ use proxy protocol to send the query. specify theipaddr@portnrof the client to include inPROXYv2.IXFR=serialβ pass the type of the query asIXFR=Nto send an IXFR query with serialN.NOTIFY[=serial]β pass the type of the query asNOTIFY[=N]to send a notify packet. the serialNof the new zone can be included. π
π¦ EXAMPLES π¦
Some examples of use. (yes these are iconic, yes you should copy them π )
$ unbound-streamtcp www.example.com A IN
$ unbound-streamtcp -f 192.168.1.1 www.example.com SOA IN
$ unbound-streamtcp -f 192.168.1.1@1234 153.1.168.192.in-addr.arpa. PTR IN
β EXIT CODE β
The unbound-streamtcp program exits with status code 1 on error, and 0 on no error. periodt.
π AUTHOR π
This manual page was written by Tomas Hozza <thozza@redhat.com>. thank you for your service bestie π«Ά
and that's the whole page, no crumbs left π NLnet Labs wrote this one, it's the Mar 21, 2013 edition, and it's from the unbound manual. go forth and query, queen πβ¨
π¦ where this page comes from
- centos-stream 10: unbound-utils 1.26.1-2.el10 Β· BSD-3-Clause
- centos-stream 9: unbound 1.24.2-2.el9 Β· BSD
- centos-stream 9: unbound 1.26.1-1.el9 Β· BSD
- fedora 43: unbound-utils 1.23.1-3.fc43 Β· BSD-3-Clause
- fedora 43: unbound-utils 1.26.1-1.fc43 Β· BSD-3-Clause
- fedora 44: unbound-utils 1.24.2-10.fc44 Β· BSD-3-Clause
- fedora 44: unbound-utils 1.26.1-1.fc44
- fedora 44: unbound-utils 1.26.2-1.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: unbound 1.26.1-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: unbound 1.26.1-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: unbound 1.26.1-160000.1.1 Β· BSD-3-Clause
- opensuse-leap 16.0: unbound 1.26.1-160000.1.1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms