修改下 /etc/hosts
加入 127.0.0.1 www.t.com
下面是 ping 的结果。
➜ htdocs ping www.t.com
PING www.t.com (127.0.0.1 ): 56 data bytes
64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.039 ms
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.085 ms
^C
--- www.t.com ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 0.039/0.084/0.127/0.036 ms
浏览器输入 www.t.com 谷歌自动跳转到
http://searchguide.level3.com/search/?q=http%3A//www.t.com/&r=&t=0
火狐正常。(我还用 apache 配置了个虚拟主机)
1
ning1022 OP 重启了下电脑好了!
|
2
msg7086 2015-08-18 20:33:41 +08:00
这叫做 DNS 缓存。
一般浏览器级的缓存,重开浏览器就好了。 |
3
ning1022 OP |
4
huching 2015-08-18 22:26:03 +08:00
@ningyuqiao456 国外的 114so.cn
|