From 80f7041632153e5979890d56d952428925cc2f8c Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Fri, 9 Feb 2024 00:27:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20SmartDNS=20=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= 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 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 009c167..24e7bcc 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -333,15 +333,17 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf cache-file /tmp/smartdns.cache log-level notice +max-query-limit 512 +restart-on-crash yes bind [::]:6053@lo bind-tcp [::]:6053@lo serve-expired yes -serve-expired-ttl 57600 +serve-expired-ttl 64800 serve-expired-reply-ttl 3 prefetch-domain yes -serve-expired-prefetch-time 28800 +serve-expired-prefetch-time 21600 force-qtype-SOA 65 diff --git a/src/debian/debian_dns_dnsmasq_smartdns.conf b/src/debian/debian_dns_dnsmasq_smartdns.conf index 0100cd4..731941e 100644 --- a/src/debian/debian_dns_dnsmasq_smartdns.conf +++ b/src/debian/debian_dns_dnsmasq_smartdns.conf @@ -23,15 +23,17 @@ conf-file /etc/smartdns.d/bogus-nxdomain.china.smartdns.conf cache-file /tmp/smartdns.cache log-level notice +max-query-limit 512 +restart-on-crash yes bind [::]:6053@lo bind-tcp [::]:6053@lo serve-expired yes -serve-expired-ttl 57600 +serve-expired-ttl 64800 serve-expired-reply-ttl 3 prefetch-domain yes -serve-expired-prefetch-time 28800 +serve-expired-prefetch-time 21600 force-qtype-SOA 65