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