From bc5ea890ad70d84e6b839df267ecd4fd70cea4d0 Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Fri, 2 Aug 2024 20:14:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dnsmasq=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 | 3 ++- 07.PVE制作TS服务器.md | 3 ++- src/debian/debian_dns_dnsmasq.conf | 3 ++- src/debian/debian_ts_dnsmasq.conf | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/06.PVE制作DNS服务器.md b/06.PVE制作DNS服务器.md index 1ff669b..fca7104 100644 --- a/06.PVE制作DNS服务器.md +++ b/06.PVE制作DNS服务器.md @@ -436,7 +436,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=2048 +max-cache-ttl=10800 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 515fa22..38b4b90 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -513,7 +513,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=2048 +max-cache-ttl=10800 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_dns_dnsmasq.conf b/src/debian/debian_dns_dnsmasq.conf index 0495a63..e239802 100644 --- a/src/debian/debian_dns_dnsmasq.conf +++ b/src/debian/debian_dns_dnsmasq.conf @@ -9,7 +9,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=2048 +max-cache-ttl=10800 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/ diff --git a/src/debian/debian_ts_dnsmasq.conf b/src/debian/debian_ts_dnsmasq.conf index 3a14172..8240e45 100644 --- a/src/debian/debian_ts_dnsmasq.conf +++ b/src/debian/debian_ts_dnsmasq.conf @@ -9,7 +9,8 @@ conf-file=/etc/dnsmasq.conf log-facility=/var/log/dnsmasq.log log-async=20 -cache-size=0 +cache-size=2048 +max-cache-ttl=10800 fast-dns-retry=1800 rebind-domain-ok=/fox.home.arpa/