答案1
NS3 不响应针对其自身和其他名称服务器的查询:
$ dig @83.169.20.193 ns4.soonce.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @83.169.20.193 ns4.soonce.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23542
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ns4.soonce.com. IN A
;; AUTHORITY SECTION:
soonce.com. 86400 IN SOA ns3.soonce.com. info.soonce.com. 2012022101 86400 7200 3600000 86400
;; Query time: 29 msec
;; SERVER: 83.169.20.193#53(83.169.20.193)
;; WHEN: Thu Apr 5 13:54:50 2012
;; MSG SIZE rcvd: 77
$ dig @83.169.20.193 ns3.soonce.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @83.169.20.193 ns3.soonce.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7770
;; flags: qr aa rd; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ns3.soonce.com. IN A
;; AUTHORITY SECTION:
soonce.com. 86400 IN SOA ns3.soonce.com. info.soonce.com. 2012022101 86400 7200 3600000 86400
;; Query time: 33 msec
;; SERVER: 83.169.20.193#53(83.169.20.193)
;; WHEN: Thu Apr 5 13:54:54 2012
;; MSG SIZE rcvd: 73
NS4 正确响应:
$ dig @83.169.46.225 ns3.soonce.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @83.169.46.225 ns3.soonce.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45021
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ns3.soonce.com. IN A
;; ANSWER SECTION:
ns3.soonce.com. 14400 IN A 83.169.46.225
;; AUTHORITY SECTION:
ns3.soonce.com. 86400 IN NS ns3.soonce.com.
ns3.soonce.com. 86400 IN NS ns4.soonce.com.
;; ADDITIONAL SECTION:
ns4.soonce.com. 14400 IN A 83.169.20.193
;; Query time: 31 msec
;; SERVER: 83.169.46.225#53(83.169.46.225)
;; WHEN: Thu Apr 5 13:57:30 2012
;; MSG SIZE rcvd: 96
$ dig @83.169.46.225 ns4.soonce.com
; <<>> DiG 9.6-ESV-R4-P3 <<>> @83.169.46.225 ns4.soonce.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 39553
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;ns4.soonce.com. IN A
;; ANSWER SECTION:
ns4.soonce.com. 14400 IN A 83.169.20.193
;; AUTHORITY SECTION:
ns4.soonce.com. 86400 IN NS ns4.soonce.com.
ns4.soonce.com. 86400 IN NS ns3.soonce.com.
;; ADDITIONAL SECTION:
ns3.soonce.com. 14400 IN A 83.169.46.225
;; Query time: 31 msec
;; SERVER: 83.169.46.225#53(83.169.46.225)
;; WHEN: Thu Apr 5 13:57:33 2012
;; MSG SIZE rcvd: 96
NS4 也没有返回胶水记录。ADDITIONAL SECTION
在 之后应该有一个包含两个名称服务器的 A 记录的记录ANSWER SECTION
:
$ dig @83.169.20.193 soonce.com NS
; <<>> DiG 9.6-ESV-R4-P3 <<>> @83.169.20.193 soonce.com NS
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44464
;; flags: qr aa rd; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available
;; QUESTION SECTION:
;soonce.com. IN NS
;; ANSWER SECTION:
soonce.com. 86400 IN NS ns4.soonce.com.
soonce.com. 86400 IN NS ns3.soonce.com.
;; Query time: 81 msec
;; SERVER: 83.169.20.193#53(83.169.20.193)
;; WHEN: Thu Apr 5 14:00:01 2012
;; MSG SIZE rcvd: 64