Nslookup /set port

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

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

Syntax

set port=<Port>

Parameters

Parameter

Description

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

Additional references

Command-Line Syntax Key