Skip to content

Commit d514880

Browse files
committed
docs(README.md): change docs
1 parent 1eec26a commit d514880

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ smartdns
22
========
33
## 使用场景
44

5-
smartdns是python语言编写,基于twisted框架实现的dns server,能够支持针对不同的dns请求根据配置返回不同的解析结果。smartdns获取dns请求的源IP或者客户端IP(支持edns协议的请求可以获取客户端IP),根据本地的静态IP库获取请求IP的特性,包括所在的国家、省份、城市、ISP等,然后根据我们的调度配置返回解析结果,smartdns的典型使用场景:
5+
smartdns是python3语言编写,smartdns基于小米[smartdns](https://github.com/xiaomi-sa/smartdns)二次开发,支持类似Dnspod的D监控功能,能够支持针对不同的dns请求根据配置返回不同的解析结果。smartdns获取dns请求的源IP或者客户端IP(支持edns协议的请求可以获取客户端IP),根据本地的静态IP库获取请求IP的特性,包括所在的国家、省份、城市、ISP等,然后根据我们的调度配置返回解析结果,smartdns的典型使用场景:
66

77
* 服务的多机房流量调度,比如电信流量调度到电信机房、联通流量调度到联通机房;
88
* 用户访问控制,将用户调度到离用户最近或者链路质量最好的节点上。
@@ -11,7 +11,7 @@ smartdns是python语言编写,基于twisted框架实现的dns server,能够
1111

1212
## 安装方法
1313
1. 安装python-devel以及bzip2包,以centos为例:`yum install -y bzip2 python-devel`
14-
2. 执行`script/install_smartdns.sh`脚本即可完成安装
14+
2. 执行`pip install smartdns`脚本即可完成安装
1515

1616
## 支持的功能
1717
支持A、SOA、NS记录的查询,支持DNS forward功能
@@ -68,7 +68,7 @@ iphash初始化过程中最关键的是iphash[IP段起始][6][域名1]的最优
6868
监控配置详见配置目录的monitor.yaml,内容如下:
6969

7070
```
71-
horizon.parkone.cn:
71+
test.test.cn:
7272
interval: 30
7373
frequency: 3
7474
url: https://www.baidu.com
@@ -106,8 +106,8 @@ git clone smartdns到本地路径,执行`python setup.py install`命令安装
106106

107107
## 支持
108108

109-
mail: fangshaosen@xiaomi.com
109+
mail: duanhongyi@doopai.com
110110

111-
github: jerryfang8
111+
github: duanhongyi
112112

113113
EDNS相关请参考:<a href="http://noops.me/?p=653" title="DNS support edns-client-subnet" target="_blank">DNS support edns-client-subnet</a>

0 commit comments

Comments
 (0)