Articles‎ > ‎Computing‎ > ‎Introduction to IPv6‎ > ‎

Command Examples

DNS Command Examples

The example below show an IPv6 AAAA DNS record look-up from a Windows 7 client, using the NSLOOKUP (built-in) and DIG command:

C:\>nslookup -type=AAAA ipv6.google.com
Server:  UnKnown
Address:  192.168.1.1

Non-authoritative answer:
Name:    ipv6.l.google.com
Address:  2001:4860:8004::69
Aliases:  ipv6.google.com

C:\>dig AAAA ipv6.google.com

; <<>> DiG 9.7.2-P3 <<>> AAAA ipv6.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1279
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;ipv6.google.com.               IN      AAAA

;; ANSWER SECTION:
ipv6.google.com.        602924  IN      CNAME   ipv6.l.google.com.
ipv6.l.google.com.      300     IN      AAAA    2001:4860:800d::63

;; Query time: 76 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Tue Mar 22 20:04:18 2011
;; MSG SIZE  rcvd: 82

The example below show an IPv6 AAAA DNS record look-up from a Windows 7 client, using the PING (built-in) command.

C:\>ping ipv6.google.com

Pinging ipv6.l.google.com [2001:4860:8005::63] with 32 bytes of data:
Reply from 2001:4860:8005::63: time=113ms
Reply from 2001:4860:8005::63: time=115ms
Reply from 2001:4860:8005::63: time=116ms
Reply from 2001:4860:8005::63: time=132ms

Ping statistics for 2001:4860:8005::63:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 113ms, Maximum = 132ms, Average = 119ms


If you need to, you can force an IPv6 look-up by typing ping -6 ipv6.google.com

Comments