Nslookup: set port

Changes the default TCP/UDP Domain Name System (DNS) name server port to the value specified.


set po[rt]=Port


Port : Specifies the new value for the default TCP/UDP DNS name server port. The default port is 53.

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

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

Nslookup subcommands

Command-line reference A-Z

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