Name
dnsquery
Synopsis
dnsquery [options]host
Queries Internet domain name servers. A simpler alternative to
nslookup, dnsquery displays
information about host as returned by the
default or a specified name server.
Options
-
-nnameserver Query server namerserver instead of the default name server specified in
/etc/resolve.conf.-
-ttype Change type of information returned from a query to one of the following:
-
A Host’s Internet address
-
AFSDB DCE or AFS server
-
ANY Any available information (default)
-
CNAME Canonical name for an alias
-
HINFO Host CPU and operating system type
-
MG Mail group member
-
MINFO Mailbox or mail list information
-
MX Mail exchanger
-
NS Nameserver for the named zone
-
PTR Hostname or pointer to other information
-
RP Responsible person
-
SOA Domain start-of-authority
-
WKS Supported well-known services
-
-
-cclass Set query class to IN (Internet), CHAOS, HESIOD, or ANY. Default is IN.
-
-rnumber Set number of retries to number.
-
-pperiod Set seconds to wait before retries to period.
-
-d Turn on debugging mode.
-
-s,-v Connect with the name server using a TCP stream rather than a UDP datagram, the default.