Nslookup /server


Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

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

server <DNSDomain>




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

{help | ?}

Displays a short summary of nslookup subcommands.

  • 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.