- all
-
Prints the current values of the frequently-used options to
set
Information about the current default server and host is also printed.
- class= value
-
Change the query class to one of:
- IN
-
the Internet class
- CHAOS
-
the Chaos class
- HESIOD
-
the MIT Athena Hesiod class
- ANY
-
wildcard (any of the above)
The class specifies the protocol group of the information.
(Default =
IN ;
abbreviation =
cl
-
[no
]
debug
-
- Turn debugging mode on. A lot more information is printed about the
packet sent to the server and the resulting answer.
(Default =
nodebug ;
abbreviation =
Op Ic no
deb
-
[no
]
d2
-
- Turn exhaustive debugging mode on.
Essentially all fields of every packet are printed.
(Default =
nod2
- domain= name
-
Change the default domain name to
name .
The default domain name is appended to a lookup request depending on the
state of the
defname
and
search
options.
The domain search list contains the parents of the default domain if it has
at least two components in its name.
For example, if the default domain
is CC.Berkeley.EDU, the search list is CC.Berkeley.EDU and Berkeley.EDU.
Use the
``set srchlist
''
command to specify a different list.
Use the
``set all
''
command to display the list.
(Default = value from
hostname(1),
/etc/resolv.conf
or
LOCALDOMAIN;
abbreviation =
do
- srchlist= name1/name2/...
-
Change the default domain name to
name1
and the domain search list
to
name1 , name2 ,
etc. A maximum of 6 names separated by slashes (/)
can be specified.
For example,
set srchlist=lcs.MIT.EDU/ai.MIT.EDU/MIT.EDU
sets the domain to lcs.MIT.EDU and the search list to the three names.
This command overrides the
default domain name and search list of the
``set domain
''
command.
Use the
``set all
''
command to display the list.
(Default = value based on
hostname(1),
/etc/resolv.conf
or
LOCALDOMAIN;
abbreviation =
srchl
-
[no
]
defname
-
- If set, append the default domain name to a single-component lookup request
(i.e., one that does not contain a period).
(Default =
defname ;
abbreviation =
Op Ic no
defname
-
[no
]
search
-
- If the lookup request contains at least one period but
doesn't
end with a trailing period, append the domain names in the domain search list
to the request until an answer is received.
(Default =
search ;
abbreviation =
Op Ic no
sea
- port= value
-
Change the default TCP/UDP name server port to
value
(Default = 53;
abbreviation =
po
- querytype= value
-
- type= value
-
Change the type of information query to one of:
- A
-
the host's Internet address.
- CNAME
-
the canonical name for an alias.
- HINFO
-
the host CPU and operating system type.
- MINFO
-
the mailbox or mail list information.
- MX
-
the mail exchanger.
- NS
-
the name server for the named zone.
- PTR
-
the host name if the query is an Internet address;
otherwise, the pointer to other information.
- SOA
-
the domain's
``start-of-authority ''
information.
- TXT
-
the text information.
- UINFO
-
the user information.
- WKS
-
the supported well-known services.
Other types
(ANY, AXFR, MB, MD, MF, NULL
)
are described in the RFC-1035 document.
(Default =
A ;
abbreviations =
q , ty
-
[no
]
recurse
-
- Tell the name server to query other servers if it does not have the
information.
(Default =
recurse ;
abbreviation =
Op Ic no
rec
- retry= number
-
Set the number of retries to
number
When a reply to a request is not received within a certain
amount of time (changed with
``set timeout ) ,
''
the timeout period is doubled and the request is resent.
The retry value controls how many times a request is resent before giving up.
(Default = 4, abbreviation =
ret
- root= host
-
Change the name of the root server to
host .
This affects the
``root
''
command.
(Default =
ns.internic.net.
abbreviation =
ro
- timeout= number
-
Change the initial timeout interval for waiting for a reply to
number
seconds. Each retry doubles the timeout period.
(Default = 5 seconds; abbreviation =
ti
-
[no
]
vc
-
- Always use a virtual circuit when sending requests to the server.
(Default =
novc ;
abbreviation =
Op Ic no
v
-
[no
]
ignoretc
-
- Ignore packet truncation errors.
(Default =
noignoretc ;
abbreviation =
Op Ic no
ig