text
stringlengths
0
4.23k
Syntax
root
Parameters
Parameter
Description
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup server
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the default server to the specified Domain Name System (DNS) domain.
This command uses the current default server to look up the information about the specified DNS domain. If you want to lookup information using the initial server, use the nslookup lserver command.
Syntax
server <DNSdomain>
Parameters
Parameter
Description
<DNSdomain>
Specifies the DNS domain for the default server.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<DNSdomain>
nslookup set all
Outputs the current configuration setting values, including the default server and computer (the host).
Syntax
set all
Parameters
Parameter
Description
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup set class
Changes the query class. The class specifies the protocol group of the information.
Syntax
set class=<class>
Parameters
Parameter
Description
<class>
The valid values include:IN: Specifies the Internet class. This is the default value.CHAOS: Specifies the Chaos class.HESIOD: Specifies the MIT Athena Hesiod class.ANY: Specifies to use any of the previously listed values.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<class>
nslookup set d2
Turns the verbose debugging mode on or off. All fields of every packet are printed.
Syntax
set [no]d2