Name

tinydns-get — query a content DNS server's database file directly

Synopsis

tinydns-get {t} {fqdn} [addr]

Description

tinydns-get looks up resource records of type t for fqdn by directly reading a content DNS server's data.cdb file, in exactly the same way that tinydns(1) and axfrdns(1) obtain their results from that same file. It prints the results in a compact human-readable format, the same as dnsq(1).

data.cdb is located in the current directory. t may be a name or a number. Currently recognized names are: any, a, ns, mx, ptr, txt, cname, soa, hinfo, rp, sig, key, aaaa, axfr, and srv. If addr is supplied tinydns-get simulates making a query from that location; this matters if data.cdb differentiates among clients in different locations.

See also

dnsq(1)

a similar tool that makes requests to content DNS servers using the DNS protocol

dnsqr(1)

a tool that makes requests to proxy DNS servers

History

tinydns-get was originally part of Daniel J. Bernstein's djbdns toolset in 2000.

Author

Original code and documentation by Daniel J. Bernstein. Documentation modernizations by Jonathan de Boyne Pollard.