我现在用的是
http://www.appinn.com/acrylic/支持 TCP 查询, hosts 通配,带缓存,带 Windows 服务控制
下边是它的 hosts 文档说明
# Note that there's no final '/' at the end of a regular expression. More #
# info about the regular expression engine and its syntax can be found at: #
# #
#
http://www.pcre.org/ #
# #
# A '>' character at the beginning of a domain name is a convenient #
# shortcut for representing all domain names ending with what follows after #
# that character. For example an entry like this one: #
# #
# 127.0.0.1 >
google.com #
# #
# Is equivalent (and internally is expanded to) an entry like this one: #
# #
# 127.0.0.1
google.com *.google.com #
# #
# When using wildcard characters or regular expressions you can specify #
# exceptions like these for example to filter out all ads.* like domain #
# names except for the ads.test1 and the ads.test2: #
# #
# 127.0.0.1 ads.* -ads.test1 -ads.test2 #
# #
# For easier maintenance of HOSTS files coming from multiple sources it is #
# also possible to "include" external HOSTS files using the following #
# syntax (the line must start with a '@' character followed by a space and #
# then by a relative or an absolute file name): #
# #
# @ AcrylicHostsGroup1.txt #
# @ AcrylicHostsGroup2.txt #
# #
# A line starting with the '#' character (and everything after it if it's #
# found within a line) is considered a comment and therefore ignored. #
# #
# Note: If all domain names are provided in ascending order Acrylic will be #
# able to load them much faster (avoiding a costly sort at the end of the #
# load and parse process). #
# #
#############################################################################