更新 SmartDNS 配置

This commit is contained in:
CallMeR
2023-12-10 18:00:16 +08:00
parent 906db9eac4
commit 1555ec02ca
5 changed files with 138 additions and 77 deletions
-12
View File
@@ -1,12 +0,0 @@
## 下载 smartdns 插件安装脚本
$ sudo wget https://gitee.com/callmer/pve_toss_notes/raw/master/src/debian/debian_dns_smartdns_plugin.conf -O /opt/smartdns_plugin.sh
## 设置安装脚本权限
$ sudo chmod +x /opt/smartdns_plugin.sh
## 设置 crontab
15 5 * * * /usr/bin/wget -q --tries=10 --retry-connrefused --random-wait https://anti-ad.net/anti-ad-for-smartdns.conf -O /etc/smartdns/anti-ad-smartdns.conf
20 5 * * * /usr/bin/bash /opt/smartdns_plugin.sh