nslookup server

Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

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

This command uses the current default server to look up the information about the specified DNS domain. If you want to lookup information using the initial server, use the nslookup lserver command.


server <DNSdomain>


Parameter Description
<DNSdomain> Specifies the DNS domain for the default server.
/? Displays help at the command prompt.
/help Displays help at the command prompt.

Additional References