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