更新 SmartDNS 参数

This commit is contained in:
CallMeR
2024-02-11 01:55:18 +08:00
parent aba1e70956
commit 2344cd77bf
2 changed files with 6 additions and 2 deletions
+4 -1
View File
@@ -305,6 +305,8 @@ $ sudo nvim /etc/smartdns/smartdns.conf
- `SmartDNS` 端口监听参数为 `6053@lo` ,请根据实际情况进行调整
- `edns-client-subnet` 为 EDNS 客户端子网,演示中 `202.103.24.68` 为湖北武汉市 DNS 服务器地址,请根据实际情况进行调整
- 检查配置文件中关于本地域名及其上游 DNS 服务器相关配置,请根据实际情况进行调整
```bash
@@ -333,7 +335,6 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
cache-file /tmp/smartdns.cache
log-level notice
max-query-limit 1024
restart-on-crash yes
bind [::]:6053@lo
@@ -346,6 +347,8 @@ prefetch-domain yes
serve-expired-prefetch-time 21600
force-qtype-SOA 65
max-query-limit 1024
edns-client-subnet 202.103.24.68
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
server-tcp 2402:4e00:: -group dnspod -exclude-default-group
+2 -1
View File
@@ -23,7 +23,6 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf
cache-file /tmp/smartdns.cache
log-level notice
max-query-limit 1024
restart-on-crash yes
bind [::]:6053@lo
@@ -36,6 +35,8 @@ prefetch-domain yes
serve-expired-prefetch-time 21600
force-qtype-SOA 65
max-query-limit 1024
edns-client-subnet 202.103.24.68
server-tcp 119.29.29.29 -group dnspod -exclude-default-group
server-tcp 2402:4e00:: -group dnspod -exclude-default-group