fix typo
This commit is contained in:
@@ -33,7 +33,7 @@ SmartDNS提供了两种测速模式,分别是ping和tcp。smartdns默认使用
|
||||
1. 单域名测速模式配置
|
||||
|
||||
```shell
|
||||
domain-rule /example.com/ -speed-check-mode ping,tcp:80,tcp:443
|
||||
domain-rules /example.com/ -speed-check-mode ping,tcp:80,tcp:443
|
||||
```
|
||||
|
||||
1. 对应端口查询时关闭测速
|
||||
@@ -47,7 +47,7 @@ SmartDNS提供了两种测速模式,分别是ping和tcp。smartdns默认使用
|
||||
如果分流的域名通过转发程序转发,则考虑关闭转发域名的测速功能,避免测速和出口不一致导致的体验反作用,关闭特定域名的测速方式如下:
|
||||
|
||||
```shell
|
||||
domain-rule /example.com/ -speed-check-mode none
|
||||
domain-rules /example.com/ -speed-check-mode none
|
||||
```
|
||||
|
||||
## 响应模式配置
|
||||
|
||||
@@ -88,7 +88,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# 指定域名规则
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
- 也可以通过网上邻居修改,网上邻居共享目录 `sda1` 看不到 `asusware.mipsbig` 目录,但可以直接在`文件管理器`中输入 `asusware.mipsbig\etc\init.d` 访问
|
||||
|
||||
@@ -35,7 +35,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# 指定域名规则
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
**注意:**
|
||||
|
||||
@@ -45,7 +45,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# 指定域名规则
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
## 启动服务
|
||||
|
||||
@@ -44,7 +44,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# 指定域名规则
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
## 重新加载配置
|
||||
|
||||
@@ -33,7 +33,7 @@ SmartDNS provides two speed test modes, namely ping and tcp. Smartdns defaults t
|
||||
1. Single domain speed test mode configuration
|
||||
|
||||
```shell
|
||||
domain-rule /example.com/ -speed-check-mode ping,tcp:80,tcp:443
|
||||
domain-rules /example.com/ -speed-check-mode ping,tcp:80,tcp:443
|
||||
```
|
||||
|
||||
1. Turn off speed test when querying corresponding ports
|
||||
@@ -47,7 +47,7 @@ SmartDNS provides two speed test modes, namely ping and tcp. Smartdns defaults t
|
||||
If the domain names that need to be routed are forwarded through forwarding programs, consider turning off the speed test function of the forwarding domain name to avoid the reverse effect caused by inconsistent speed tests and exports, and close the speed test of specific domain names as follows:
|
||||
|
||||
```shell
|
||||
domain-rule /example.com/ -speed-check-mode none
|
||||
domain-rules /example.com/ -speed-check-mode none
|
||||
```
|
||||
|
||||
## Response mode configuration
|
||||
|
||||
@@ -81,7 +81,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# set domain rules
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
It can also be modified from Network Neighborhood. From the neighbor sharing directory `sda1` you can't see the `asusware.mipsbig` directory, but you can directly enter `asusware.mipsbig\etc\init.d` in `File Manager` to modify it.
|
||||
|
||||
@@ -33,7 +33,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# set domain rules
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
Note: if you need to support IPV6, you can set the work-mode to `2`, this will disable the DNS service of dnsmasq, and smartdns run as the primary DNS server. Change `SMARTDNS_WORKMODE` in the file `/opt/etc/smartdns/smartdns-opt.conf` to `2`.
|
||||
|
||||
@@ -48,7 +48,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# set domain rules
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
## Start Service
|
||||
|
||||
@@ -45,7 +45,7 @@ server 1.1.1.1
|
||||
server-tls 8.8.8.8
|
||||
# set domain rules
|
||||
address /example.com/1.2.3.4
|
||||
domain-rule /example.com/ -address 1.2.3.4
|
||||
domain-rules /example.com/ -address 1.2.3.4
|
||||
```
|
||||
|
||||
## Start Service
|
||||
|
||||
Reference in New Issue
Block a user