text
stringlengths
0
4.23k
nslookup set class
Changes the query class, which specifies the protocol group of the information.
nslookup set d2
Turns the verbose debugging mode on or off.
nslookup set debug
Turns off debugging mode completely.
nslookup set domain
Changes the default Domain Name System (DNS) domain name to the specified name.
nslookup set port
Changes the default TCP/UDP Domain Name System (DNS) name server port to the specified value.
nslookup set querytype
Changes the resource record type for the query.
nslookup set recurse
Tells the Domain Name System (DNS) name server to query other servers if it doesn't find any information.
nslookup set retry
Sets the number of retries.
nslookup set root
Changes the name of the root server used for queries.
nslookup set search
Appends the Domain Name System (DNS) domain names in the DNS domain search list to the request until an answer is received.
nslookup set srchlist
Changes the default Domain Name System (DNS) domain name and search list.
nslookup set timeout
Changes the initial number of seconds to wait for a reply to a lookup request.
nslookup set type
Changes the resource record type for the query.
nslookup set vc
Specifies whether to use a virtual circuit when sending requests to the server.
nslookup view
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Sorts and lists the output of the previous ls commands or subcommands.
Syntax
view <filename>
Parameters
Parameter
Description
<filename>
Specifies the name of the file containing output from the previous ls commands or subcommands.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<filename>
nslookup
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Displays information that you can use to diagnose Domain Name System (DNS) infrastructure. Before using this tool, you should be familiar with how DNS works. The nslookup command-line tool is available only if you have installed the TCP/IP protocol.
The nslookup command-line tool has two modes: interactive and noninteractive.
If you need to look up only a single piece of data, we recommend using the non-interactive mode. For the first parameter, type the name or IP address of the computer that you want to look up. For the second parameter, type the name or IP address of a DNS name server. If you omit the second argument, nslookup uses the default DNS name server.
If you need to look up more than one piece of data, you can use interactive mode. Type a hyphen (-) for the first parameter and the name or IP address of a DNS name server for the second parameter. If you omit both parameters, the tool uses the default DNS name server. While using the interactive mode, you can:
Interrupt interactive commands at any time, by pressing CTRL+B.
Exit, by typing exit.
Treat a built-in command as a computer name, by preceding it with the escape character (\). An unrecognized command is interpreted as a computer name.
\
Syntax
nslookup [exit | finger | help | ls | lserver | root | server | set | view] [options]
Parameters
Parameter