Nslookup /set search

 

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Appends the Domain Name System (DNS) domain names in the DNS domain search list to the request until an answer is received. This applies when the set and the lookup request contain at least one period, but do not end with a trailing period.

Syntax

set [no]search

Parameters

Parameter

Description

nosearch

Stops appending the Domain Name System (DNS) domain names in the DNS domain search list to the request.

search

Appends the Domain Name System (DNS) domain names in the DNS domain search list to the request until an answer is received. The default syntax is search.

{help | ?}

Displays a short summary of nslookup subcommands.

Additional references

Command-Line Syntax Key