Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

nslookup(1)

resolver(3)

resolver(5)

named(8)

nsquery(1)

Name

nsquery − name server query command

Syntax

/usr/ucb/nsquery [ lookup ] [ host ] [ server ]

Description

The nsquery command provides an interface to obtain host name and address information.

If you specify host, the nsquery command obtains information about the specified host. If no host is specified, the nsquery command obtains information about the local host system.

If you specify server, the nsquery command queries the BIND server that you specify. If you do not specify a server, the nsquery command queries the default BIND server.

Options

lookupRetrieves the host name, Internet Protocol (IP) address, and aliases of the specified host.  If no host or server is specified, the nsquery command obtains information about the local system from the default BIND server.

If you do specify the lookup option, the nsquery command obtains the information about the BIND server and host specified (or their defaults). If the system from which you issue the nsquery command is a BIND server, and you do not specify the lookup option, information about only that server is retrieved. 

Files

/var/dss/namedb Directory containing BIND server data file

/var/dss/namedb/named.boot
BIND server boot file

/var/dss/namedb/hosts.db
Host database file containing name to address mapping for BIND primary server

/var/dss/namedb/hosts.rev
Host database file containing address to name mapping for BIND primary server

/var/dss/namedb/named.local
Local host database file containing address to name mapping for BIND server

/var/dss/namedb/named.ca
BIND server cache file

/etc/resolv.conf
BIND data file

See Also

nslookup(1), resolver(3), resolver(5), named(8)
Guide to the BIND/Hesiod Service

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026