vincentwilliam / ipv6-hosts

Automatically exported from code.google.com/p/ipv6-hosts
0 stars 0 forks source link

通配符*怎么访问不了? #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*.appspot.com  
除了列表里列出来的appspot.com的其他的都访问不了

Original issue reported on code.google.com by weigoodw...@gmail.com on 26 Jun 2011 at 8:14

GoogleCodeExporter commented 8 years ago
hosts 
语法不允许通配符,只能逐个添加。(因为读取时不会进行 
pattern 匹配)

普通用户可以尝试通过 pac 
脚本进行正则表达式匹配,高级用户可以自行搭建 DNS 
或通过防火墙策略/代理解决。

参考:
PAC 
语法:http://zh.wikipedia.org/wiki/%E4%BB%A3%E7%90%86%E8%87%AA%E5%8A%A8%E9%85
%8D%E7%BD%AE
DNS 记录的通配符:http://en.wikipedia.org/wiki/Wildcard_DNS_record
Acrylic DNS 代理工具(Windows):http://sourceforge.net/projects/acrylic/

Original comment by xslidian on 26 Jun 2011 at 8:45