Dig; Command Reference, Cisco Ios Xe Everest 16.5.1A (Catalyst 3650 Switches - Cisco Catalyst 3650 series Command Reference Manual

Cisco ios xe everest 16.5.1a
Hide thumbs Also See for Catalyst 3650 series:
Table of Contents

Advertisement

dig

To do a lookup of the Domain Name System (DNS) server, use the dig command in rommon mode.
dig hostname {v4 | v6} [dns-server-address]
Syntax Description
hostname
v4
v6
dns-server-address
Command Modes
Rommon
Command History
Release
Cisco IOS XE Everest 16.5.1
Usage Guidelines
This command does a look up of the DNS name and displays the IP/IPv6 address of the DNS server.
Examples
The following is sample output from the dig hostname command:
Device: dig example.org
DNS lookup using 2001:DB8::1
addr = 2001:DB8:0000:0000:0000:0000:0000:0001
The following is sample output from the dig hostname v4 command:
Device: dig example.org v4
DNS lookup using 10.29.27.5
addr = 172.16.0.1
The following is sample output from the dig hostname v4 dns-server-address command:
Device: dig example.org v4 10.29.27.5
DNS lookup using 10.29.27.5
addr = 172.16.0.1
The following is sample output from the dig hostname v6 command:
Device: dig example.org v6
DNS lookup using 2001:DB::1
addr = 2001:DB8:0000:0000:0000:0000:0000:0001
DNS host name
IPv4 address.
IPv6 address.
(Optional) DNS Server IP address.
Modification
This command was introduced.

Command Reference, Cisco IOS XE Everest 16.5.1a (Catalyst 3650 Switches)

dig
583

Advertisement

Table of Contents
loading

Table of Contents