clear ip dns port-number

Use this command to reset the port number the DNS resolver uses for DNS queries to the default value.

Syntax

clear ip dns port-number

Parameters

None.

Defaults

None.

Mode

All command modes.

Usage

This command resets the port number the DNS resolver uses to the default value of port 53.

Example

This example resets the DNS port number for this system to the default value:

System(rw)->clear ip dns port-number
System(rw)->