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/