This commit is contained in:
Nick Peng
2023-03-27 08:42:32 +08:00
parent 1e9bc6bed9
commit 086b7f465a
10 changed files with 12 additions and 12 deletions

View File

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

View File

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

View File

@@ -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`.

View File

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

View File

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