Nslookup /lserver

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2

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

Syntax

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.

Additional references

Command-Line Syntax Key

Nslookup /server