在我的Macbook Pro上,挖wikipedia.com会返回:
$ dig wikipedia.com
; <<>> DiG 9.8.3-P1 <<>> wikipedia.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40153
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;wikipedia.com. IN A
;; ANSWER SECTION:
wikipedia.com. 1960 IN A 208.80.152.201
;; Query time: 15 msec
;; SERVER: 75.75.75.75#53(75.75.75.75)
;; WHEN: Sun Jan 27 14:52:21 2013
;; MSG SIZE rcvd: 47
我可以发誓,上周我的计算机返回了AUTHORITY SECTION
+一些附加部分。
现在,无论何时访问dig
任何网站,我都不会获得AUTHORITY SECTION
。
我觉得有些东西坏了,但是我不确定它是什么(如果有的话)以及如何修复它。
另一个例子:
$ dig google.com
; <<>> DiG 9.8.3-P1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 42853
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 137 IN A 173.194.33.9
google.com. 137 IN A 173.194.33.7
google.com. 137 IN A 173.194.33.14
google.com. 137 IN A 173.194.33.3
google.com. 137 IN A 173.194.33.2
google.com. 137 IN A 173.194.33.5
google.com. 137 IN A 173.194.33.6
google.com. 137 IN A 173.194.33.0
google.com. 137 IN A 173.194.33.4
google.com. 137 IN A 173.194.33.8
google.com. 137 IN A 173.194.33.1
;; Query time: 43 msec
;; SERVER: 75.75.75.75#53(75.75.75.75)
;; WHEN: Sun Jan 27 14:56:45 2013
;; MSG SIZE rcvd: 204
上周,我很确定自己也能得到AUTHORITY SECTION
。
有小费吗?我是否意外地设置了一个标志来限制dig
计算机上的返回值?如果是这样,我该如何恢复显示所有内容?
这是从工作计算机上进行挖掘时得到的结果:
$ dig wikipedia.com
; <<>> DiG 9.8.3-P1 <<>> wikipedia.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 5271
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;wikipedia.com. IN A
;; ANSWER SECTION:
wikipedia.com. 3600 IN A 208.80.152.201
;; AUTHORITY SECTION:
wikipedia.com. 157415 IN NS ns0.wikimedia.org.
wikipedia.com. 157415 IN NS ns2.wikimedia.org.
wikipedia.com. 157415 IN NS ns1.wikimedia.org.
;; ADDITIONAL SECTION:
ns0.wikimedia.org. 1684 IN A 208.80.152.130
ns1.wikimedia.org. 1684 IN A 208.80.152.142
ns2.wikimedia.org. 1684 IN A 91.198.174.4
;; Query time: 127 msec
;; SERVER: 192.9.200.116#53(192.9.200.116)
;; WHEN: Mon Jan 28 13:51:57 2013
;; MSG SIZE rcvd: 162
...和:
$ dig google.com
; <<>> DiG 9.8.3-P1 <<>> google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62316
;; flags: qr rd ra; QUERY: 1, ANSWER: 11, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 173.194.33.6
google.com. 300 IN A 173.194.33.7
google.com. 300 IN A 173.194.33.8
google.com. 300 IN A 173.194.33.9
google.com. 300 IN A 173.194.33.14
google.com. 300 IN A 173.194.33.0
google.com. 300 IN A 173.194.33.1
google.com. 300 IN A 173.194.33.2
google.com. 300 IN A 173.194.33.3
google.com. 300 IN A 173.194.33.4
google.com. 300 IN A 173.194.33.5
;; AUTHORITY SECTION:
google.com. 344693 IN NS ns1.google.com.
google.com. 344693 IN NS ns2.google.com.
google.com. 344693 IN NS ns3.google.com.
google.com. 344693 IN NS ns4.google.com.
;; ADDITIONAL SECTION:
ns1.google.com. 344797 IN A 216.239.32.10
ns2.google.com. 344797 IN A 216.239.34.10
ns3.google.com. 344797 IN A 216.239.36.10
ns4.google.com. 344797 IN A 216.239.38.10
;; Query time: 20 msec
;; SERVER: 192.9.200.119#53(192.9.200.119)
;; WHEN: Mon Jan 28 13:53:34 2013
;; MSG SIZE rcvd: 340
我的一部分想知道我的家庭ISP(Comcast)或路由器是否阻止了某些内容?或者,我在家里的Mac设置与在工作中的Mac不同吗?不确定如何检验这些理论。
另外,我可能会误以为我曾经dig
在家用笔记本电脑上工作过(我只是不确定记得)。无论哪种方式,我都是从工作Mac而不是从笔记本电脑/家用Mac上获得所需的结果。为什么两者会有所不同?
dig
我从工作中获得的结果,这些结果确实返回了权限部分(适用于google.com和wikipedia.com)。注意:我会赞成您的答复,但是我没有足够的答复...对不起。:(