.TH NDB 8
.SH NAME
-query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsdebug, inform \- network database
+query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsdebug, dnsgetip, inform \- network database
.SH SYNOPSIS
.B ndb/query
[
]
.br
.B ndb/dnsquery
+[
+.B -x
+]
.br
.B ndb/dnsdebug
[
.I type
] ]
.br
+.B ndb/dnsgetip
+[
+.B -ax
+]
+.I domain-name
+.br
.B ndb/inform
[
.B -x
will reverse the ip address and tack on the
.B .in-addr.arpa
if necessary.
+The
+.B -x
+option switches
+.I ndb/dnsquery
+to query the dns server on
+.B /net.alt
+instead of
+.B /net
.PP
.I Ndb/dnsdebug
is like
interface and
.B /lib/ndb/external
database file.
+.PP
+.I Ndb/dnsgetip
+resolves and prints A and AAAA records without consulting
+.I ndb/dns .
+By default,
+.I ndb/dnsgetip
+queries A records first and then AAAA records. As with
+.I ndb/dns,
+.B /env/DNSSERVER
+or
+.IR ndb (6)
+.B dns
+attributes are used as the DNS server. The
+.I -a
+flag will return all records. The
+.B -x
+option switches
+.I ndb/dnsgetip
+to query the dns server through
+.B /net.alt
+instead of
+.B /net.
.SH EXAMPLES
Look up
.B helix