Nslookup /set search


Applies To: Windows Server 2008,Windows Server 2008 R2

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.

For examples of how this command can be used, see Examples.

Syntax


Copy Code

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.

Remarks

<Insert command-specific remarks here.>

Scripting <optional section>

<Here is where you discuss using the command within a script. You should also provide an FWLink to a specific page in the Script Center, if possible.>

Examples

<Here is where you put a detailed description of your example>:


Copy Code

This /is /the /example

<Here is where you put detailed descriptions of another example>:


Copy Code

This /is /a:"different" /example

Additional references

Command-Line Syntax Key