Fix chinese typo

This commit is contained in:
Nick Peng
2023-06-03 17:46:49 +08:00
parent 83192f5f13
commit d843f0ff87
11 changed files with 72 additions and 69 deletions

View File

@@ -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。