Export (0) Print
Expand All
Dos
Mem
Msg
Expand Minimize

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

Nslookup subcommands

Command-line reference A-Z

Nslookup: set domain

Nslookup: set all

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft