html tool

2018年10月14日星期日

dns ipv6查询

https://www.cnblogs.com/wanhl/p/3498777.html


:~/test/install_1/install$ nslookup -q=AAAA google.com 8.8.8.8
Server:  8.8.8.8
Address: 8.8.8.8#53

Non-authoritative answer:
Name: google.com
Address: 2404:6800:4005:801::200e



dig:

$ dig google.com AAAA  8.8.8.8

; <<>> DiG 9.11.3-1ubuntu1.2-Ubuntu <<>> google.com AAAA 8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- 48090="" font="" id:="" noerror="" opcode:="" query="" status:="">
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;google.com. IN AAAA

;; ANSWER SECTION:
google.com. 145 IN AAAA 2404:6800:4005:807::200e

;; Query time: 17 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Mon Oct 15 14:57:23 CST 2018
;; MSG SIZE  rcvd: 67

;; Got answer:
;; ->>HEADER<<- 58716="" font="" id:="" nxdomain="" opcode:="" query="" status:="">
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 65494
;; QUESTION SECTION:
;8.8.8.8. IN A

;; Query time: 1043 msec
;; SERVER: 127.0.0.53#53(127.0.0.53)
;; WHEN: Mon Oct 15 14:57:24 CST 2018

;; MSG SIZE  rcvd: 36

没有评论:

发表评论