From a1e992c956d8c416c51791517d9c0738682215ff Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Tue, 19 Mar 2024 10:04:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20SmartDNS=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 06.PVE制作DNS服务器.md | 9 +-------- src/debian/debian_dns_smartdns.conf | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 2d3cc36..f68f146 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -330,13 +330,7 @@ $ sudo nvim /etc/smartdns/smartdns.conf # server 2402:4e00:: # server 2400:3200::1 -conf-file /etc/smartdns.d/adrules.smartdns.conf - -conf-file /etc/smartdns.d/dns-group.china.smartdns.conf -conf-file /etc/smartdns.d/apple.china.smartdns.conf -conf-file /etc/smartdns.d/google.china.smartdns.conf -conf-file /etc/smartdns.d/accelerated-domains.china.smartdns.conf -conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf +conf-file /etc/smartdns.d/*.conf cache-file /tmp/smartdns.cache @@ -351,7 +345,6 @@ serve-expired-reply-ttl 30 prefetch-domain yes serve-expired-prefetch-time 28800 -force-qtype-SOA 65 max-query-limit 1024 edns-client-subnet 202.103.24.68 diff --git a/src/debian/debian_dns_smartdns.conf b/src/debian/debian_dns_smartdns.conf index ce3bf58..65cc5ce 100644 --- a/src/debian/debian_dns_smartdns.conf +++ b/src/debian/debian_dns_smartdns.conf @@ -12,13 +12,7 @@ # server 2402:4e00:: # server 2400:3200::1 -conf-file /etc/smartdns.d/adrules.smartdns.conf - -conf-file /etc/smartdns.d/dns-group.china.smartdns.conf -conf-file /etc/smartdns.d/apple.china.smartdns.conf -conf-file /etc/smartdns.d/google.china.smartdns.conf -conf-file /etc/smartdns.d/accelerated-domains.china.smartdns.conf -conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf +conf-file /etc/smartdns.d/*.conf cache-file /tmp/smartdns.cache @@ -33,7 +27,6 @@ serve-expired-reply-ttl 30 prefetch-domain yes serve-expired-prefetch-time 28800 -force-qtype-SOA 65 max-query-limit 1024 edns-client-subnet 202.103.24.68