Fix chinese typo
This commit is contained in:
@@ -14,6 +14,32 @@ hide:
|
||||
|
||||
## ipset配置
|
||||
|
||||
1. 基本配置
|
||||
|
||||
通过如下参数可以配置指定域名的NFTSet规则
|
||||
|
||||
```shell
|
||||
ipset /domain/ipset
|
||||
```
|
||||
|
||||
1. 超时
|
||||
|
||||
SmartDNS设置IPSet,支持设置是否启用超时功能,这样可以避免NFTSet中过多IP地址,网关性能下降。启用方式为
|
||||
|
||||
```shell
|
||||
ipset-timeout yes
|
||||
```
|
||||
|
||||
1. 测速失败后,自动添加到IPSet
|
||||
|
||||
SmartDNS可以将测速失败的IP地址,加入IPSet,再由相关IP规则转发
|
||||
|
||||
```shell
|
||||
ipset-no-speed ipsetname
|
||||
```
|
||||
|
||||
## nftset配置
|
||||
|
||||
1. 基本配置
|
||||
|
||||
通过如下参数可以配置指定域名的IPSet规则
|
||||
@@ -46,32 +72,6 @@ hide:
|
||||
nftset-debug yes
|
||||
```
|
||||
|
||||
## nftset配置
|
||||
|
||||
1. 基本配置
|
||||
|
||||
通过如下参数可以配置指定域名的NFTSet规则
|
||||
|
||||
```shell
|
||||
ipset /domain/ipset
|
||||
```
|
||||
|
||||
1. 超时
|
||||
|
||||
SmartDNS设置IPSet,支持设置是否启用超时功能,这样可以避免NFTSet中过多IP地址,网关性能下降。启用方式为
|
||||
|
||||
```shell
|
||||
ipset-timeout yes
|
||||
```
|
||||
|
||||
1. 测速失败后,自动添加到IPSet
|
||||
|
||||
SmartDNS可以将测速失败的IP地址,加入IPSet,再由相关IP规则转发
|
||||
|
||||
```shell
|
||||
ipset-no-speed ipsetname
|
||||
```
|
||||
|
||||
## 对特定的服务端口设置ipset和nftset
|
||||
|
||||
smartdns的bind参数,支持设置ipset和nftset,当设置了ipset和nftset的端口接收到请求后,将对此端口的查询请求设置ipset和nftset。
|
||||
@@ -82,5 +82,5 @@ smartdns的bind参数,支持设置ipset和nftset,当设置了ipset和nftset
|
||||
bind [::]:6053 -ipset [ipset] -nftset [nftset]
|
||||
```
|
||||
|
||||
* -ipset:参数选项参考ipset选项。
|
||||
* -nftset:选项参考nftset。
|
||||
* -ipset:参数选项参考ipset选项。
|
||||
* -nftset:选项参考nftset。
|
||||
|
||||
Reference in New Issue
Block a user