Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
code4craft committed Jul 16, 2013
1 parent f3b2b40 commit c53075e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions release-note.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
Release Notes
----
*2012-7-16* `version:1.2.2`

极大优化了A记录配置的性能。

在数万条配置的情况下,性能并未有下降。

新增NS记录配置的支持。

*2012-6-22* `version:1.2.1`

增加自定义缓存过期时间的功能。
Expand Down
4 changes: 2 additions & 2 deletions server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ BlackHole的配置跟Hosts文件是一样的,但是支持通配符"*"。
BlackHole还支持NS记录的配置。NS记录的意思是,对于某些域名的请求,总是向某个DNS服务器查找结果。例如,你可以使用组合配置:

173.194.72.103 *.google.com
NS docs.google.com
NS 8.8.8.8 docs.google.com

这两项配置的意思是:将*.google.com的地址都指向173.194.72.103,但是对于docs.google.com域名,则不进行拦截,直接使用外部DNS服务器的返回值作为结果
这两项配置的意思是:将*.google.com的地址都指向173.194.72.103,但是对于docs.google.com域名,向8.8.8.8进行查询并作为最终结果

如果两条规则出现冲突,前面的规则会生效。

Expand Down
2 changes: 1 addition & 1 deletion server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>us.codecraft</groupId>
<artifactId>blackhole</artifactId>
<version>1.2.2-alpha</version>
<version>1.2.2</version>
<name>blackhole</name>
<description>A simple DNS authoritative server.It can easily be configured to intercept some kind of request to one address.</description>
<properties>
Expand Down

0 comments on commit c53075e

Please sign in to comment.