Nslookup /set srchlist
Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8
Changes the default Domain Name System (DNS) domain name and search list.
For examples of how this command can be used, see Examples.
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 (/). |
{help | ?} |
Displays a short summary of nslookup subcommands. |
Remarks
- The set srchlist command overrides the default DNS domain name and search list of the set domain command. Use the set all command to display the list.
Examples
The following example sets 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