show sys dns

Shows system DNS information.

The show ip dns command returns the same output.

Syntax

Default

None

Command Mode

User EXEC

Command Output

The show sys dns command displays the following information:

Output field

Description

DNS Default Domain Name

Displays the domain name.

DNS Default Domain Name Origin

Displays the origin of the domain name.

DNS Host Name

Displays the host name.

IP address

Displays the IP address of the primary, secondary, or tertiary server.

Status

Displays the status of the primary, secondary, or tertiary server.

Total DNS Number of request made to this server

Displays the number of requests sent to the primary, secondary, or tertiary server.

Number of Successful DNS

Displays the number of successful requests sent to the primary, secondary, or tertiary server.

Example

The following example displays output from the show sys dns command.

Switch:1>show sys dns           
	DNS Default Domain Name : test.company.com
	DNS Default Domain Name Origin: DHCP
	DNS Host Name: fabriciq10cdae6bd000
	Primary dynamic DNS server details:
	===========================
		 IP address : 192.0.2.11
		 Status     : active
		 Total DNS Number of request made to this server : 0
		 Number of Successful DNS : 0

	Secondary dynamic DNS server details:
	===========================
		 IP address : 192.0.2.12
		 Status     : active
		 Total DNS Number of request made to this server : 0
		 Number of Successful DNS : 0

       Tertiary dynamic DNS server details:
	===========================
		 IP address : 192.0.2.13
		 Status     : active
		 Total DNS Number of request made to this server : 0
		 Number of Successful DNS : 0