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