Command
hollow resolve
Walks from the IANA root servers down to the authoritative nameserver and prints the reply in dig-style presentation format. The type defaults to A. With --server it skips the walk and asks one server directly, which is the only mode where the delegation path is not checked.
Usage
hollow resolve [flags] <name> [type]
Flags
--dns0x20default true
randomise the case of the query name, and refuse a reply that does not echo it
--hints <string>root hints in named.root format; default is the compiled-in list
--jsonoutput reply as JSON
--port <uint>default 53
port to query
--server <string>ask this server directly instead of resolving from the root
--tcpquery over TCP instead of falling back to it
--timeout <duration>default 3s
deadline for one exchange with one server
--traceshow the delegation path as it is walked
Real output
Captured from the binary, verbatim. Timings and addresses are whatever that particular run returned.
$ hollow resolve google.com MX; <<>> hollow <<>> google.com. MX;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47540;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 5;; OPT PSEUDOSECTION:; EDNS: version: 0, flags:; udp: 512;; QUESTION SECTION:;google.com. IN MX;; ANSWER SECTION:google.com. 300 IN MX 10 smtp.google.com.;; ADDITIONAL SECTION:smtp.google.com. 300 IN A 192.178.158.27smtp.google.com. 300 IN A 192.178.158.26smtp.google.com. 300 IN AAAA 2404:6800:4013:813::1asmtp.google.com. 300 IN AAAA 2404:6800:4013:813::1b;; Query time: 80 ms;; SERVER: 2001:4860:4802:38::a#53 (udp);; MSG SIZE rcvd: 148