Changes the default Domain Name System (DNS) domain name and search list.

For examples of how this command can be used, see Examples.


Set srchlist=<DomainName>[/...]


Parameter Description


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.


  • The set srchl command overrides the default DNS domain name and search list of the set domain command. Use the set all command to display the list.

Scripting <optional section>

<Here is where you discuss using the command within a script. You should also provide an FWLink to a specific page in the Script Center, if possible.>


The following example sets the DNS domain to and the search list to the three names:


<Here is where you put detailed descriptions of another example>:

This /is /a:"different" /example