Skip to content

Commit

Permalink
改名为 xdns
Browse files Browse the repository at this point in the history
  • Loading branch information
allenm committed May 15, 2014
1 parent 4c487ae commit c829c9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,9 @@ config 支持的配置项有:

* file xdns 配置文件的地址
* dns 远程的 DNS server
* hostsArr 包含 hosts 配置的数组,例如 `['127.0.0.1 www.baidu.com']` ,可以参考 sample/hostsarr.js
* hostsArr 包含 hosts 配置的数组,例如 `['127.0.0.1 www.baidu.com']` ,可以参考 sample/hostsarr.js


### 改名

之前叫 edns , 但是 edns 已经有了 “Extension mechanisms for DNS” 的意思,所以更名为 xdns
2 changes: 1 addition & 1 deletion ehosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var ipaddr = require('ipaddr.js');

require('./customcolors');

var defaultHosts = getUserHome() + '/.edns';
var defaultHosts = getUserHome() + '/.xdns';

var staticHosts = {};
var smartHosts = [];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xdns",
"version": "0.0.9",
"version": "0.1.0",
"description": "A DNS server for web / app developers . Easy to config.",
"main": "index.js",
"bin":{
Expand Down

0 comments on commit c829c9f

Please sign in to comment.