Nslookup /set defname


Applies To: Windows Server 2008,Windows Server 2008 R2

Appends the default Domain Name System (DNS) domain name to a single component lookup request. A single component is a component that contains no periods.

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

Syntax


Copy Code

set [no]defname

Parameters

Parameter

Description

nodefname

Stops appending the default Domain Name System (DNS) domain name to a single component lookup request.

defname

Appends the default Domain Name System (DNS) domain name to a single component lookup request. The default syntax is defname.

{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