Applies To: Windows Server 2008,Windows Server 2008 R2

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

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

Syntax

 Copy Code
server <DNSDomain>

Parameters

Parameter Description

<DNSDomain>

Required. Specifies the new DNS domain for the default server.

{help | ?}

Displays a short summary of nslookup subcommands.

Remarks

  • The server command uses the current default server to look up the information about the specified DNS domain. This is in contrast to the lserver command, which uses the initial server.

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