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.


set port=<Port>


Parameter Description


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.


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


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

This /is /the /example

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

This /is /a:"different" /example

Additional references

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)