Nslookup /set port


Applies To: Windows Server 2008 R2,Windows Server 2008

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

For examples of how this command can be used, see Examples.

Syntax


Copy Code

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.

Remarks

<Insert command-specific remarks here.>

Scripting <optional section>

<Here is where you discuss using the command within a script. You should also provide an FWLink to a specific page in the Script Center, if possible.>

Examples

<Here is where you put a detailed description of your example>:


Copy Code

This /is /the /example

<Here is where you put detailed descriptions of another example>:


Copy Code

This /is /a:"different" /example

Additional references

Command-Line Syntax Key