nslookup lserver
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Changes the initial server to the specified Domain Name System (DNS) domain.
This command uses the initial server to look up the information about the specified DSN domain. If you want to lookup information using the current default server, use the nslookup server command.
Syntax
lserver <DNSdomain>
Parameters
Parameter | Description |
---|---|
<DNSdomain> |
Specifies the DNS domain for the initial server. |
/? | Displays help at the command prompt. |
/help | Displays help at the command prompt. |
Related links
Feedback
Submit and view feedback for