Nslookup: lserver

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


lserver DNSDomain


DNSDomain : Specifies the new DNS domain for the default server.

{help|?} : Displays a short summary of nslookup subcommands.


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.

Formatting legend



Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output

Command-line reference A-Z

Nslookup subcommands


Nslookup: server

© 2017 Microsoft Corporation. All rights reserved. Contact Us |Terms of Use |Trademarks |Privacy & Cookies