Skip to content

Instantly share code, notes, and snippets.

@chuangbo
Created June 21, 2012 01:46
Show Gist options
  • Save chuangbo/2963393 to your computer and use it in GitHub Desktop.
Save chuangbo/2963393 to your computer and use it in GitHub Desktop.
/t/40147
$ dig +trace www.douban.com

; <<>> DiG 9.7.3-P3 <<>> +trace www.douban.com
;; global options: +cmd
.			23374	IN	NS	j.root-servers.net.
.			23374	IN	NS	f.root-servers.net.
.			23374	IN	NS	c.root-servers.net.
.			23374	IN	NS	h.root-servers.net.
.			23374	IN	NS	i.root-servers.net.
.			23374	IN	NS	m.root-servers.net.
.			23374	IN	NS	d.root-servers.net.
.			23374	IN	NS	b.root-servers.net.
.			23374	IN	NS	e.root-servers.net.
.			23374	IN	NS	g.root-servers.net.
.			23374	IN	NS	l.root-servers.net.
.			23374	IN	NS	k.root-servers.net.
.			23374	IN	NS	a.root-servers.net.
;; Received 509 bytes from 172.0.0.2#53(172.0.0.2) in 13 ms

com.			172800	IN	NS	a.gtld-servers.net.
com.			172800	IN	NS	b.gtld-servers.net.
com.			172800	IN	NS	c.gtld-servers.net.
com.			172800	IN	NS	d.gtld-servers.net.
com.			172800	IN	NS	e.gtld-servers.net.
com.			172800	IN	NS	f.gtld-servers.net.
com.			172800	IN	NS	g.gtld-servers.net.
com.			172800	IN	NS	h.gtld-servers.net.
com.			172800	IN	NS	i.gtld-servers.net.
com.			172800	IN	NS	j.gtld-servers.net.
com.			172800	IN	NS	k.gtld-servers.net.
com.			172800	IN	NS	l.gtld-servers.net.
com.			172800	IN	NS	m.gtld-servers.net.
;; Received 492 bytes from 193.0.14.129#53(k.root-servers.net) in 110 ms

douban.com.		172800	IN	NS	ns1.douban.com.
douban.com.		172800	IN	NS	ns2.douban.com.
;; Received 100 bytes from 192.42.93.30#53(g.gtld-servers.net) in 372 ms

www.douban.com.		300	IN	A	211.147.4.49
www.douban.com.		300	IN	A	211.147.4.31
www.douban.com.		300	IN	A	211.147.4.32
douban.com.		300	IN	NS	ns1.douban.com.
douban.com.		300	IN	NS	ns2.douban.com.
;; Received 148 bytes from 173.230.147.149#53(ns2.douban.com) in 254 ms


$ dig @g.gtld-servers.net douban.com

; <<>> DiG 9.7.3-P3 <<>> @192.42.93.30 douban.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 36973
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;douban.com.			IN	A

;; AUTHORITY SECTION:
douban.com.		172800	IN	NS	ns1.douban.com.
douban.com.		172800	IN	NS	ns2.douban.com.

;; ADDITIONAL SECTION:
ns1.douban.com.		172800	IN	A	211.147.4.8
ns2.douban.com.		172800	IN	A	173.230.147.149

;; Query time: 377 msec
;; SERVER: 192.42.93.30#53(192.42.93.30)
;; WHEN: Thu Jun 21 09:44:25 2012
;; MSG SIZE  rcvd: 96
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment