Nslookup /server

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

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.

Additional references

Command-Line Syntax Key

Nslookup /lserver