周海汉 /文
从谷奥得到消息 ,google推出了两个非常好记的DNS服务器。那就是
8.8.8.8
8.8.4.4
经本人测试可用。有人说4.4.4.4和4.3.2.1也是,经过我测试,这两个IP可以ping通,但并不能做DNS 解析。
下面是测试经过:
- zhouhh@zhhofs:~$ ping 8.8.8.8
- PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
- 64 bytes from 8.8.8.8: icmp_seq=1 ttl=240 time=200 ms
- 64 bytes from 8.8.8.8: icmp_seq=2 ttl=240 time=84.7 ms
- ^C
- — 8.8.8.8 ping statistics —
- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
- rtt min/avg/max/mdev = 84.771/142.731/200.691/57.960 ms
- zhouhh@zhhofs:~$ ping 8.8.4.4
- PING 8.8.4.4 (8.8.4.4) 56(84) bytes of data.
- 64 bytes from 8.8.4.4: icmp_seq=1 ttl=240 time=111 ms
- 64 bytes from 8.8.4.4: icmp_seq=2 ttl=240 time=113 ms
- ^C
- — 8.8.4.4 ping statistics —
- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
- rtt min/avg/max/mdev = 111.370/112.358/113.346/0.988 ms
- zhouhh@zhhofs:~$ ping 4.3.2.1
- PING 4.3.2.1 (4.3.2.1) 56(84) bytes of data.
- 64 bytes from 4.3.2.1: icmp_seq=1 ttl=240 time=107 ms
- 64 bytes from 4.3.2.1: icmp_seq=2 ttl=240 time=102 ms
- ^C
- — 4.3.2.1 ping statistics —
- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms
- rtt min/avg/max/mdev = 102.059/104.628/107.198/2.589 ms
- zhouhh@zhhofs:~$ nslookup 8.8.8.8
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- Non-authoritative answer:
- 8.8.8.8.in-addr.arpa name = google-public-dns-a.google.com.
- Authoritative answers can be found from:
- zhouhh@zhhofs:~$ nslookup 8.8.4.4
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- Non-authoritative answer:
- 4.4.8.8.in-addr.arpa name = google-public-dns-b.google.com.
- Authoritative answers can be found from:
- zhouhh@zhhofs:~$ nslookup 4.4.4.4
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- ** server can’t find 4.4.4.4.in-addr.arpa.: NXDOMAIN
- zhouhh@zhhofs:~$ nslookup 4.3.2.1
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- ** server can’t find 1.2.3.4.in-addr.arpa: SERVFAIL
- zhouhh@zhhofs:~$ nslookup 1.2.3.4
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- ** server can’t find 4.3.2.1.in-addr.arpa.: NXDOMAIN
- zhouhh@zhhofs:~$ nslookup
-
server 8.8.8.8
- Default server: 8.8.8.8
- Address: 8.8.8.8#53
-
set type=a
-
google.com
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- Non-authoritative answer:
- Name: google.com
- Address: 74.125.53.100
- Name: google.com
- Address: 74.125.67.100
- Name: google.com
- Address: 74.125.45.100
-
sohu.com
- Server: 8.8.8.8
- Address: 8.8.8.8#53
- Non-authoritative answer:
- Name: sohu.com
- Address: 61.135.181.176
- Name: sohu.com
- Address: 61.135.181.175
-
server 4.4.4.4
- Default server: 4.4.4.4
- Address: 4.4.4.4#53
-
set type a
- *** Invalid option: type
-
set type = a
- *** Invalid option: type
-
set type=a
-
google.com
- ^C
- 解析失败,超时
-
- zhouhh@zhh64:~$ nslookup
-
server 4.3.2.1
- Default server: 4.3.2.1
- Address: 4.3.2.1#53
-
sohu.com
- Server: 4.3.2.1
- Address: 4.3.2.1#53
-
- Non-authoritative answer:
- Name: sohu.com
- Address: 61.135.181.176
- Name: sohu.com
- Address: 61.135.181.175
- & gt; set type a
- *** Invalid option: type
-
set type = a
- *** Invalid option: type
-
set type=a
-
sohu.com
- Server: 4.3.2.1
- Address: 4.3.2.1#53
-
- Non-authoritative answer:
- Name: sohu.com
- Address: 61.135.181.175
- Name: sohu.com
- Address: 61.135.181.176
-
server 4.4.4.4
- Default server: 4.4.4.4
- Address: 4.4.4.4#53
-
set type=a
-
sohu.com
- ^C
- 4.4.4.4不通,4.3.2.1是通的。
zhouhh@zhhofs:~$ ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=240 time=200 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=240 time=84.7 ms ^C — 8.8.8.8 ping statistics — 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 84.771/142.731/200.691/57.960 ms zhouhh@zhhofs:~$ ping 8.8.4.4 PING 8.8.4.4 (8.8.4.4) 56(84) bytes of data. 64 bytes from 8.8.4.4: icmp_seq=1 ttl=240 time=111 ms 64 bytes from 8.8.4.4: icmp_seq=2 ttl=240 time=113 ms ^C — 8.8.4.4 ping statistics — 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 111.370/112.358/113.346/0.988 ms zhouhh@zhhofs:~$ ping 4.3.2.1 PING 4.3.2.1 (4.3.2.1) 56(84) bytes of data. 64 bytes from 4.3.2.1: icmp_seq=1 ttl=240 time=107 ms 64 bytes from 4.3.2.1: icmp_seq=2 ttl=240 time=102 ms ^C — 4.3.2.1 ping statistics — 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 102.059/104.628/107.198/2.589 ms zhouhh@zhhofs:~$ nslookup 8.8.8.8 Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: 8.8.8.8.in-addr.arpa name = google-public-dns-a.google.com. Authoritative answers can be found from: zhouhh@zhhofs:~$ nslookup 8.8.4.4 Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: 4.4.8.8.in-addr.arpa name = google-public-dns-b.google.com. Authoritative answers can be found from: zhouhh@zhhofs:~$ nslookup 4.4.4.4 Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can’t find 4.4.4.4.in-addr.arpa.: NXDOMAIN zhouhh@zhhofs:~$ nslookup 4.3.2.1 Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can’t find 1.2.3.4.in-addr.arpa: SERVFAIL zhouhh@zhhofs:~$ nslookup 1.2.3.4 Server: 8.8.8.8 Address: 8.8.8.8#53 ** server can’t find 4.3.2.1.in-addr.arpa.: NXDOMAIN zhouhh@zhhofs:~$ nslookup > server 8.8.8.8 Default server: 8.8.8.8 Address: 8.8.8.8#53 > set type=a > google.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: google.com Address: 74.125.53.100 Name: google.com Address: 74.125.67.100 Name: google.com Address: 74.125.45.100 > sohu.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: sohu.com Address: 61.135.181.176 Name: sohu.com Address: 61.135.181.175 > server 4.4.4.4 Default server: 4.4.4.4 Address: 4.4.4.4#53 > set type a ** Invalid option: type > set type = a ** Invalid option: type > set type=a > google.com ^C 解析失败,超时 zhouhh@zhh64:~$ nslookup > server 4.3.2.1 Default server: 4.3.2.1 Address: 4.3.2.1#53 > sohu.com Server: 4.3.2.1 Address: 4.3.2.1#53 Non-authoritative answer: Name: sohu.com Address: 61.135.181.176 Name: sohu.com Address: 61.135.181.175 > set type a ** Invalid option: type > set type = a ** Invalid option: type > set type=a > sohu.com Server: 4.3.2.1 Address: 4.3.2.1#53 Non-authoritative answer: Name: sohu.com Address: 61.135.181.175 Name: sohu.com Address: 61.135.181.176 > server 4.4.4.4 Default server: 4.4.4.4 Address: 4.4.4.4#53 > set type=a > sohu.com ^C 4.4.4.4不通,4.3.2.1是通的。
说明8.8.8.8,8.8.4.4可用。
后经补充测试, 4.3.2.1可用。
8.8.8.8、8.8.4.4和4.3.2.1不用担心域名绑架,但8.8.8.8、8.8.4.4和4.3.2.1有可能遭GFW封杀。
ps:后来一晚上给一个女生解决网络问题,配IP地址,在DNS 配了8.8.8.8,结果她问,“DNS 这个随便配一个就行了,是吧?” 8.8.8.8实在太吉祥太吉利太好记了,搞得大家都不相信。
如非注明转载, 均为原创. 本站遵循知识共享CC协议,转载请注明来源