linzhengbupt/ipv6-hosts

通配符*怎么访问不了?

Closed this issue · 1 comments

*.appspot.com  
除了列表里列出来的appspot.com的其他的都访问不了

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

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

  • Changed state: WontFix
  • Added labels: Component-Logic, OpSys-All, Priority-Low, Type-Other, Usability
  • Removed labels: Priority-Medium, Type-Defect