tinydns-get — query a content DNS server's database file directly
tinydns-get
{t
} {fqdn
} [addr
]
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.