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
lserver <DNSDomain> 

Parameters

Parameter Description

<DNSDomain>

Specifies the new DNS domain for the default server.

{help | ?}

Displays a short summary of nslookup subcommands.

Remarks

  • The lserver command uses the initial server to look up the information about the specified DNS domain. This is in contrast to the server command, which uses the current default 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