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 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.>

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

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

This /is /a:"different" /example

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)