jiangtiandao / smarthosts

Automatically exported from code.google.com/p/smarthosts
0 stars 0 forks source link

dl.dropbox.com和dl-web.dropbox.com此类使用amazon s3服务的地址不可用 #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
由于s3服务上的负载均衡机制,dns解析出的地址是动态的,如
果在hosts文件中指定就有可能会错误地指向其他使用s3服务的�
��站,下面这个是指向了 *.bittorrent.com了:

You attempted to reach dl.dropbox.com, but instead you actually reached a 
server identifying itself as *.bittorrent.com. This may be caused by a 
misconfiguration on the server or by something more serious. An attacker on 
your network could be trying to get you to visit a fake (and potentially 
harmful) version of dl.dropbox.com. You should not proceed.

建议不要缓存此类使用了s3服务的域名。

> dl.dropbox.com
Server:     8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
dl.dropbox.com  canonical name = 
dl-balancer3-985632286.us-east-1.elb.amazonaws.com.
Name:   dl-balancer3-985632286.us-east-1.elb.amazonaws.com
Address: 107.20.198.68
> dl.dropbox.com
Server:     8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
dl.dropbox.com  canonical name = 
dl-balancer3-985632286.us-east-1.elb.amazonaws.com.
Name:   dl-balancer3-985632286.us-east-1.elb.amazonaws.com
Address: 107.22.196.64

> dl-web.dropbox.com
Server:     8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
dl-web.dropbox.com  canonical name = 
dl-balancer3-985632286.us-east-1.elb.amazonaws.com.
Name:   dl-balancer3-985632286.us-east-1.elb.amazonaws.com
Address: 184.73.223.62

> dl-web.dropbox.com
Server:     8.8.8.8
Address:    8.8.8.8#53

Non-authoritative answer:
dl-web.dropbox.com  canonical name = 
dl-balancer3-985632286.us-east-1.elb.amazonaws.com.
Name:   dl-balancer3-985632286.us-east-1.elb.amazonaws.com
Address: 107.22.243.22

Original issue reported on code.google.com by papayawood@gmail.com on 8 Nov 2011 at 4:08

GoogleCodeExporter commented 9 years ago
的确是这样没错,所以只能做艰难的决定注释掉了。。。

Original comment by azly...@gmail.com on 8 Nov 2011 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by azly...@gmail.com on 6 Dec 2011 at 2:36