Nslookup /set domain


Applies To: Windows Server 2008 R2,Windows Server 2008

Changes the default Domain Name System (DNS) domain name to the name specified.

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

Syntax


Copy Code

set domain=<DomainName>

Parameters

Parameter

Description

<DomainName>

Specifies a new name for the default DNS domain name. The default domain name is the host name.

{help | ?}

Displays a short summary of nslookup subcommands.

Remarks

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

Nslookup /set srchlist

Nslookup /set all