GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
NDB(1) FreeBSD General Commands Manual NDB(1)

ndbquery, ndbmkhash, ndbmkdb, ndbipquery, ndbmkhosts - network database

ndbquery [ -f dbfile ] attr value [ rattr ]
ndbipquery attr value rattr...
ndbmkhash file attr
ndbmkdb

The network database holds administrative information used by authdial (see and

Ndbquery searches the database for an attribute of type attr and value value. If rattr is not specified, all entries matched by the search are returned. If rattr is specified, the value of the first pair with attribute rattr of all the matched entries is returned.

Ndbipquery uses ndbipinfo (see to search for the values of the attributes rattr corresponding to the system with entries of attribute type attr and value value.

Ndbmkhash creates a hash file for all entries with attribute attr in database file file. The hash files are used by ndbquery and by the ndb library routines.

Ndbmkdb is used in concert with scripts to convert uucp systems files and IP host files into database files. It is very specific to the situation at Murray Hill.

When the database files change underfoot, running programs track them properly. Nonetheless, to keep the database searches efficient it is necessary to run ndbmkhash whenever the files are modified. It may be profitable to control this by a frequent job.

Ndbmkhosts generates a BSD style hosts, hosts.txt, and hosts.equiv files from ndb data base files specified on the command line (default /ndb/local and /ndb/friends). It only processes hosts whose domain names end in domname. The output files are named db.domname, equiv.domname, and txt.domname. For historical reasons, the default domname is research.att.com.

% ndbquery sys helix
sys=helix dom=helix.research.bell-labs.com bootf=/mips/9powerboot
	ip=135.104.117.31 ether=080069020427
	proto=il 
    

/ndb/local
first database file searched
/ndb/local.*
hash files for /ndb/local

/src/cmd/ndb


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.