text
stringlengths
0
4.23k
Parameters
Parameter
Description
nod2
Turns off the verbose debugging mode. This is the default value.
d2
Turns on the verbose debugging mode.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup set debug
Turns debugging mode on or off.
Syntax
set [no]debug
Parameters
Parameter
Description
nodebug
Turns off debugging mode. This is the default value.
debug
Turns on debugging mode. By turning debugging mode on, you can view more information about the packet sent to the server and the resulting answer.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup set domain
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the default Domain Name System (DNS) domain name to the specified name.
Syntax
set domain=<domainname>
Parameters
Parameter
Description
<domainname>
Specifies a new name for the default DNS domain name. The default value is the name of the host.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<domainname>
Remarks
The default DNS domain name is appended to a lookup request depending on the state of the defname and search options.
The DNS domain search list contains the parents of the default DNS domain if it has at least two components in its name. For example, if the default DNS domain is mfg.widgets.com, the search list is named both mfg.widgets.com and widgets.com.
Use the nslookup set srchlist command to specify a different list and the nslookup set all command to display the list.
nslookup set port
Changes the default TCP/UDP Domain Name System (DNS) name server port to the specified value.
Syntax
set port=<port>
Parameters
Parameter
Description