nslookup set srchlist
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
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
- Use the nslookup 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:
set srchlist=mfg.widgets.com/mrp2.widgets.com/widgets.com
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor