Focus
Focus
Table of Contents

dig6

Use the
dig6
command to display domain information groper (Dig) for querying domain name system (DNS) servers. It helps troubleshoot DNS problems along with displaying answers from the queried name servers.

Command

dig6
<interface>
<server address>
<hostname>

Options

None

Command Notes

Role
Super, Read Only, Monitor
Related Commands
Introduced in
Release 6.2.1

Example

dig6 3 2702::abcc host1.nyc3.example.com ; <<>> DiG 9.11.35 <<>> -6 -b 2203::11 @2702::abcc -t AAAA host1.nyc3.example.com ; (1 server found) ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51816 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 4096 ; COOKIE: 470075d63cabb41d01000000642d1f281097dd340bbe42fa (good) ;; QUESTION SECTION: ;host1.nyc3.example.com. IN AAAA ;; ANSWER SECTION: host1.nyc3.example.com. 604800 IN AAAA 2001:1:1:1::21 ;; Query time: 1 msec ;; SERVER: 2702::abcc#53(2702::abcc) ;; WHEN: Wed Apr 05 07:11:21 UTC 2023 ;; MSG SIZE rcvd: 107

Recommended For You