From 454ae86aba75a7c684fff341fe1701031a94f914 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Fri, 8 Dec 2023 13:03:17 +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 | 6 ++---- src/debian/debian_dns_dnsmasq_smartdns.conf | 6 ++---- src/debian/debian_dns_smartdns.conf | 6 ++---- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index ff86c7b..5971450 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -284,6 +284,8 @@ $ sudo nvim /etc/smartdns/smartdns.conf conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache +log-level notice + bind [::]:53 bind-tcp [::]:53 @@ -293,12 +295,8 @@ serve-expired-reply-ttl 3 prefetch-domain yes serve-expired-prefetch-time 28800 -speed-check-mode ping,tcp:80,tcp:443 - force-qtype-SOA 65 -log-level notice - server-tcp 119.29.29.29 -group dnspod -exclude-default-group server-tcp 2402:4e00:: -group dnspod -exclude-default-group nameserver /doh.pub/dnspod diff --git a/src/debian/debian_dns_dnsmasq_smartdns.conf b/src/debian/debian_dns_dnsmasq_smartdns.conf index 74b21ed..73569dd 100644 --- a/src/debian/debian_dns_dnsmasq_smartdns.conf +++ b/src/debian/debian_dns_dnsmasq_smartdns.conf @@ -15,6 +15,8 @@ conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache +log-level notice + bind [::]:6053@lo bind-tcp [::]:6053@lo @@ -24,12 +26,8 @@ serve-expired-reply-ttl 3 prefetch-domain yes serve-expired-prefetch-time 28800 -speed-check-mode ping,tcp:80,tcp:443 - force-qtype-SOA 65 -log-level notice - server-tcp 119.29.29.29 -group dnspod -exclude-default-group server-tcp 2402:4e00:: -group dnspod -exclude-default-group nameserver /doh.pub/dnspod diff --git a/src/debian/debian_dns_smartdns.conf b/src/debian/debian_dns_smartdns.conf index db13e43..7b959bb 100644 --- a/src/debian/debian_dns_smartdns.conf +++ b/src/debian/debian_dns_smartdns.conf @@ -15,6 +15,8 @@ conf-file /etc/smartdns/anti-ad-smartdns.conf cache-file /tmp/smartdns.cache +log-level notice + bind [::]:53 bind-tcp [::]:53 @@ -24,12 +26,8 @@ serve-expired-reply-ttl 3 prefetch-domain yes serve-expired-prefetch-time 28800 -speed-check-mode ping,tcp:80,tcp:443 - force-qtype-SOA 65 -log-level notice - server-tcp 119.29.29.29 -group dnspod -exclude-default-group server-tcp 2402:4e00:: -group dnspod -exclude-default-group nameserver /doh.pub/dnspod