HP-UX Reference (11i v3 07/02) - 1 User Commands A-M (vol 1)

h
host(1) host(1)
(BIND 9.3)
The type values are case-insensitive.
When the -t option is omitted, host
automatically selects an appropriate query type. By
default, it looks for
A records, but if the
-C option is given, queries are made for SOA records. If
the
name operand is an IPv4 or IPv6 address,
host queries for PTR records.
For a query type of
IXFR, you can specify the starting serial number by appending an equals
sign followed by the starting serial number (for example,
-t IXFR=12345678).
-v Generate verbose output.
-W wait Set the time to wait for a reply to wait seconds. If wait is less than 1, the wait interval is set to
1.
-w Effectively wait forever for a reply. The time to wait for a response is set to the number of
seconds given by the hardware’s maximum value for an integer quantity.
Operands
name The domain name that is to be looked up. It can also be an IPv4 or IPv6 address, in which case
host will, by default, perform a reverse lookup for that address.
server The name or IP address of the name server that host should query. The default is the server
or servers listed in /etc/resolv.conf
.
EXAMPLES
Using a host name:
$ host example.com
example.com has address 192.0.34.166
Using an IP address:
$ host 192.0.34.166
166.34.0.192.in-addr.arpa domain name pointer www.example.com.
AUTHOR
dnssec-signzone was developed by the Internet Systems Consortium (ISC).
FILES
/etc/resolv.conf
SEE ALSO
dig(1), nslookup(1), named(1M), named.conf(4), resolver(4).
Requests for Comments (RFC): 1886, available online at http://www.rfc-editor.org/
.
HP-UX IP Address and Client Management Administrator’s Guide, available online at
http://docs.hp.com
.
BIND 9 Administrator Reference Manual, available from the Internet Systems Consortium at
http://www.isc.org/sw/bind/arm93
.
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 435