]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/8/ndb
vmx: allow setting mac address of using ea:nnnnnnnnnnnn! prefix, use genrandom()...
[plan9front.git] / sys / man / 8 / ndb
index 699f98ca2cfc8a0eefa8e5f62604720b6b299c79..868deff44a246de412294c75892b2d9b4a10a999 100644 (file)
@@ -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
 [
@@ -89,6 +89,9 @@ query, ipquery, mkhash, mkdb, mkhosts, cs, csquery, dns, dnstcp, dnsquery, dnsde
 ]
 .br
 .B ndb/dnsquery
+[
+.B -x
+]
 .br
 .B ndb/dnsdebug
 [
@@ -104,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
@@ -169,6 +178,12 @@ sends an RFC2136 DNS
 packet to a nameserver to associate the host's IPv4 address with its DNS name.
 This is required if the domain's nameserver is
 a Microsoft Windows Active Directory controller.
+The host's domain name will be sent to the AD controller unless 
+a tuple of the form
+.BI inform= xxx
+is found in the host's
+.I ndb
+entry.
 .SS "Database maintenance"
 .I Ndb/mkhash
 creates a hash file for all entries with attribute
@@ -669,6 +684,14 @@ In the case of the inverse query type,
 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
@@ -719,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
@@ -750,7 +795,7 @@ plan9.bell-labs.com ip      204.178.31.2
 Print the names of all systems that boot via PXE.
 .IP
 .EX
-% ndb/query -a bootf /386/9pxeload sys
+% ndb/query -a bootf /386/9bootpxe sys
 .EE
 .SH FILES
 .TF /lib/ndb/local.*xxx