Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
set [no]searchAppends the Domain Name System (DNS) domain names in the DNS domain search list to the request until an answer is received. This guide lists the documented syntax and parameters for nslookup set search; check Microsoft Learn for version, role and execution-context requirements.
set [no]searchThe linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
set [no]search| Option / clause | Description |
|---|---|
[no]search | search appends the DNS search list where applicable (default); nosearch disables it. |
nosearch | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
/? | Display command help or the supported command-line usage. |
/help | Display command help or the supported command-line usage. |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.