Nslookup: set srchlist

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Nslookup: set srchlist

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

Syntax

Set srchl[ist]**=**DomainName[/...]

Parameters
  • 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.
Examples

To set the DNS domain to mfg.widgets.com and the search list to the three names, type:

set srchlist=mfg.widgets.com/mrp2.widgets.com/widgets.com

Formatting legend

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

See Also

Concepts

Nslookup subcommands
Command-line reference A-Z
Command shell overview
Nslookup: set domain
Nslookup: set all