text
stringlengths
0
4.23k
Changes the name of the root server used for queries.
Note
This command supports the nslookup root command.
Syntax
set root=<rootserver>
Parameters
Parameter
Description
<rootserver>
Specifies the new name for the root server. The default value is ns.nic.ddn.mil.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<rootserver>
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. This applies when the set and the lookup request contain at least one period, but do not end with a trailing period.
Syntax
set [no]search
Parameters
Parameter
Description
nosearch
Stops appending the Domain Name System (DNS) domain names in the DNS domain search list for the request.
search
Appends the Domain Name System (DNS) domain names in the DNS domain search list for the request until an answer is received. This is the default value.
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
nslookup set srchlist
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 and search list. This command overrides the default DNS domain name and search list of the nslookup set domain command.
Syntax
set srchlist=<domainname>[/...]
Parameters
Parameter
Description
<domainname>
Specifies new names for the default DNS domain and search list. The default domain name value is based on the host name. You can specify a maximum of six names separated by slashes (/).
/?
Displays help at the command prompt.
/help
Displays help at the command prompt.
<domainname>
Remarks
Examples
To set the DNS domain to mfg.widgets.com and the search list to the three names:
set srchlist=mfg.widgets.com/mrp2.widgets.com/widgets.com
nslookup set timeout
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the initial number of seconds to wait for a reply to a lookup request. If a reply isn't received within the specified amount of time, the time-out period is doubled, and the request is resent. Use the nslookup set retry command to determine the number of times to try to send the request.
Syntax
set timeout=<number>