diff --git a/docs/config/check-speed-mode.md b/docs/config/check-speed-mode.md index 20203b6..a1d3af8 100644 --- a/docs/config/check-speed-mode.md +++ b/docs/config/check-speed-mode.md @@ -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 ``` ## 响应模式配置 diff --git a/docs/install/asus.md b/docs/install/asus.md index 88aec5c..20d101c 100644 --- a/docs/install/asus.md +++ b/docs/install/asus.md @@ -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` 访问 diff --git a/docs/install/entware.md b/docs/install/entware.md index e9d59dc..2e00682 100644 --- a/docs/install/entware.md +++ b/docs/install/entware.md @@ -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 ``` **注意:** diff --git a/docs/install/linux.md b/docs/install/linux.md index 4da19d9..189d83e 100644 --- a/docs/install/linux.md +++ b/docs/install/linux.md @@ -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 ``` ## 启动服务 diff --git a/docs/install/wsl.md b/docs/install/wsl.md index 38e3e4f..7f63044 100644 --- a/docs/install/wsl.md +++ b/docs/install/wsl.md @@ -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 ``` ## 重新加载配置 diff --git a/en/docs/config/check-speed-mode.md b/en/docs/config/check-speed-mode.md index ebac30c..73119a8 100644 --- a/en/docs/config/check-speed-mode.md +++ b/en/docs/config/check-speed-mode.md @@ -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 diff --git a/en/docs/install/asus.md b/en/docs/install/asus.md index 8d0319d..26824f3 100644 --- a/en/docs/install/asus.md +++ b/en/docs/install/asus.md @@ -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. diff --git a/en/docs/install/entware.md b/en/docs/install/entware.md index 1b271aa..ebeec44 100644 --- a/en/docs/install/entware.md +++ b/en/docs/install/entware.md @@ -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`. diff --git a/en/docs/install/linux.md b/en/docs/install/linux.md index e0450f5..513685d 100644 --- a/en/docs/install/linux.md +++ b/en/docs/install/linux.md @@ -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 diff --git a/en/docs/install/wsl.md b/en/docs/install/wsl.md index 464ed5a..407c889 100644 --- a/en/docs/install/wsl.md +++ b/en/docs/install/wsl.md @@ -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