Edit

Share via


nslookup set srchlist

Changes the default Domain Name System (DNS) ___domain name and search list. This command overrides the default DNS ___domain name and search list of the nslookup set ___domain command.

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 (/).
/? Displays help at the command prompt.
/help Displays help at the command prompt.

Remarks

Examples

To set 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