diff --git a/06.PVE用模板克隆虚拟机.md b/06.PVE用模板克隆虚拟机.md index 3fcdd5f..13d73da 100644 --- a/06.PVE用模板克隆虚拟机.md +++ b/06.PVE用模板克隆虚拟机.md @@ -229,7 +229,7 @@ $ sudo systemctl enable smartdns.service ```bash ## 下载广告过滤配置文件 -$ sudo wget https://neodev.team/smartdns.conf -O /etc/smartdns/neodevhost-smartdns.conf +$ sudo wget https://anti-ad.net/anti-ad-for-smartdns.conf -O /etc/smartdns/anti-ad-smartdns.conf ``` `SmartDNS` 的主配置文件一般位于 `/etc/smartdns` 目录下,修改配置文件之前,使用以下命令将其备份。 @@ -250,7 +250,7 @@ $ sudo nvim /etc/smartdns/smartdns.conf **额外说明:** -- 当不使用 `neodevhost-smartdns.conf` 进行广告过滤时,需移除主配置文件中对应配置项。 +- 当不使用 `anti-ad-smartdns.conf` 进行广告过滤时,需移除主配置文件中对应配置项。 - 检查配置文件中关于本地域名及其上游 DNS 服务器相关配置,请根据实际情况进行调整。 @@ -269,7 +269,7 @@ $ sudo nvim /etc/smartdns/smartdns.conf # server 2402:4e00:: # server 2400:3200::1 -conf-file /etc/smartdns/neodevhost-smartdns.conf +conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache bind [::]:53 @@ -323,7 +323,7 @@ $ sudo crontab -e ```bash ## 定时任务配置项 -0 5 * * * /usr/bin/wget -q --tries=10 --retry-connrefused --random-wait https://neodev.team/smartdns.conf -O /etc/smartdns/neodevhost-smartdns.conf +0 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 30 5 * * * /usr/bin/systemctl restart smartdns.service diff --git a/src/debian/debian_dnsmasq_smartdns.conf b/src/debian/debian_dnsmasq_smartdns.conf index d0e27d7..a6298de 100644 --- a/src/debian/debian_dnsmasq_smartdns.conf +++ b/src/debian/debian_dnsmasq_smartdns.conf @@ -12,7 +12,7 @@ # server 2402:4e00:: # server 2400:3200::1 -conf-file /etc/smartdns/neodevhost-smartdns.conf +conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache bind [::]:8053@lo diff --git a/src/debian/debian_smartdns.conf b/src/debian/debian_smartdns.conf index 40ab78e..db13e43 100644 --- a/src/debian/debian_smartdns.conf +++ b/src/debian/debian_smartdns.conf @@ -12,7 +12,7 @@ # server 2402:4e00:: # server 2400:3200::1 -conf-file /etc/smartdns/neodevhost-smartdns.conf +conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache bind [::]:53