diff options
author | mischief <mischief@offblast.org> | 2014-12-09 17:33:09 -0800 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2014-12-09 17:33:09 -0800 |
commit | 23d6c796cd1dc0c9c2a2b910b79d2dc2bcdbb181 (patch) | |
tree | c56f0ebdbb207accf23adf79b7473e75fe854ef4 /sys/man/8 | |
parent | 1985bebbddc7d47f165e3e7d45ff8614b23acd71 (diff) |
ndb(8): document ndb/dnsgetip
Diffstat (limited to 'sys/man/8')
-rw-r--r-- | sys/man/8/ndb | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/sys/man/8/ndb b/sys/man/8/ndb index bc00d4ba0..d8a4a3bac 100644 --- a/sys/man/8/ndb +++ b/sys/man/8/ndb @@ -1,6 +1,6 @@ .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 [ @@ -107,6 +107,12 @@ query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsde .I type ] ] .br +.B ndb/dnsgetip +[ +.B -ax +] +.I domain-name +.br .B ndb/inform [ .B -x @@ -736,6 +742,28 @@ to use the 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 |