-tag -width Fl
Fl n Ar nameserver
The nameserver to be used in the query. Nameservers can appear as either
Internet addresses of the form
w.x.y.z
or can appear as domain names.
(Default: as specified in
/etc/resolv.conf . )
Fl t Ar type
The type of resource record of interest. Types include:
-tag -width "AFSDB " -compact -offset indent
Ar A
address
Ar NS
nameserver
Ar CNAME
canonical name
Ar PTR
domain name pointer
Ar SOA
start of authority
Ar WKS
well-known service
Ar HINFO
host information
Ar MINFO
mailbox information
Ar MX
mail exchange
Ar RP
responsible person
Ar MG
mail group member
Ar AFSDB
DCE or AFS server
Ar ANY
wildcard
Note that any case may be used. (Default:
ANY . )
Fl c Ar class
The class of resource records of interest.
Classes include:
-tag -width "CHAOS " -compact -offset indent
Ar IN
Internet
Ar HS
Hesiod
Ar CHAOS
Chaos
Ar ANY
wildcard
Note that any case may be used. (Default:
IN . )
Fl r Ar retry
The number of times to retry if the nameserver is
not responding. (Default: 4.)
Fl p Ar period
Period to wait before timing out. (Default:
RES_TIMEOUT . )
Fl d
Turn on debugging. This sets the
RES_DEBUG
bit of the resolver's
options
field. (Default: no debugging.)
Fl s
Use a
stream
rather than a packet. This uses a TCP stream connection with
the nameserver rather than a UDP datagram. This sets the
RES_USEVC
bit of the resolver's
options
field. (Default: UDP datagram.)
Fl v
Synonym for the
Fl s
flag.
Ar host
The name of the host (or domain) of interest.