mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
SmartDNS Release 47
This commit is contained in:
+18
-2
@@ -216,7 +216,7 @@ $ mkdir -p /tmp/SmartDNS
|
|||||||
$ cd /tmp/SmartDNS
|
$ cd /tmp/SmartDNS
|
||||||
|
|
||||||
## 下载 SmartDNS 安装包
|
## 下载 SmartDNS 安装包
|
||||||
$ curl -LR -O https://github.com/pymumu/smartdns/releases/download/Release46.1/smartdns.1.2025.03.02-1533.x86_64-linux-all.tar.gz
|
$ curl -LR -O https://github.com/pymumu/smartdns/releases/download/Release47/smartdns.1.2025.09.18-2244.x86_64-linux-all.tar.gz
|
||||||
|
|
||||||
## 解压缩 SmartDNS 安装包
|
## 解压缩 SmartDNS 安装包
|
||||||
$ tar zxf smartdns.*.x86_64-linux-all.tar.gz
|
$ tar zxf smartdns.*.x86_64-linux-all.tar.gz
|
||||||
@@ -335,7 +335,9 @@ $ sudo editor /etc/smartdns/smartdns.conf
|
|||||||
|
|
||||||
**额外说明:**
|
**额外说明:**
|
||||||
|
|
||||||
- `SmartDNS` 端口监听参数为 `6053@lo` ,请根据实际情况进行调整
|
- `SmartDNS` 端口监听参数为 `6053@lo` ,WebUI 端口监听参数为 `5380` ,请根据实际情况进行调整
|
||||||
|
|
||||||
|
- WebUI 默认用户名密码为 `admin/password` ,若需公网访问建议将默认密码修改为强密码
|
||||||
|
|
||||||
- 检查配置文件中关于本地域名及其上游 DNS 服务器相关配置,请根据实际情况进行调整
|
- 检查配置文件中关于本地域名及其上游 DNS 服务器相关配置,请根据实际情况进行调整
|
||||||
|
|
||||||
@@ -359,6 +361,18 @@ conf-file /etc/smartdns.d/*.conf
|
|||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
log-console yes
|
log-console yes
|
||||||
|
log-size 16M
|
||||||
|
log-num 8
|
||||||
|
|
||||||
|
audit-enable yes
|
||||||
|
audit-SOA yes
|
||||||
|
audit-size 16M
|
||||||
|
audit-num 8
|
||||||
|
|
||||||
|
plugin smartdns_ui.so
|
||||||
|
smartdns-ui.ip https://[::]:5380
|
||||||
|
smartdns-ui.token-expire 1800
|
||||||
|
smartdns-ui.max-query-log-age 604800
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
bind-tcp [::]:6053@lo
|
bind-tcp [::]:6053@lo
|
||||||
@@ -385,6 +399,8 @@ server-tcp 2400:3200::1 -bootstrap-dns
|
|||||||
server-tls dot.pub
|
server-tls dot.pub
|
||||||
server-tls dns.alidns.com
|
server-tls dns.alidns.com
|
||||||
|
|
||||||
|
server-quic dns.alidns.com
|
||||||
|
|
||||||
server-https https://doh.pub/dns-query
|
server-https https://doh.pub/dns-query
|
||||||
server-https https://dns.alidns.com/dns-query
|
server-https https://dns.alidns.com/dns-query
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,18 @@ conf-file /etc/smartdns.d/*.conf
|
|||||||
|
|
||||||
log-level notice
|
log-level notice
|
||||||
log-console yes
|
log-console yes
|
||||||
|
log-size 16M
|
||||||
|
log-num 8
|
||||||
|
|
||||||
|
audit-enable yes
|
||||||
|
audit-SOA yes
|
||||||
|
audit-size 16M
|
||||||
|
audit-num 8
|
||||||
|
|
||||||
|
plugin smartdns_ui.so
|
||||||
|
smartdns-ui.ip https://[::]:5380
|
||||||
|
smartdns-ui.token-expire 1800
|
||||||
|
smartdns-ui.max-query-log-age 604800
|
||||||
|
|
||||||
bind [::]:6053@lo
|
bind [::]:6053@lo
|
||||||
bind-tcp [::]:6053@lo
|
bind-tcp [::]:6053@lo
|
||||||
@@ -43,6 +55,8 @@ server-tcp 2400:3200::1 -bootstrap-dns
|
|||||||
server-tls dot.pub
|
server-tls dot.pub
|
||||||
server-tls dns.alidns.com
|
server-tls dns.alidns.com
|
||||||
|
|
||||||
|
server-quic dns.alidns.com
|
||||||
|
|
||||||
server-https https://doh.pub/dns-query
|
server-https https://doh.pub/dns-query
|
||||||
server-https https://dns.alidns.com/dns-query
|
server-https https://dns.alidns.com/dns-query
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user