From a57796b137494fc20e984d0049e8e7430e9ebb25 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 27 Nov 2022 22:27:06 +0200 Subject: [PATCH] dnsmasq: set an increased cachesize default value Dnsmasq DNS cache size is only 150 by default. Set the uci default value to 1000, so that cache gets used more and unnecessary DNS queries to upstream can be avoided. Signed-off-by: Hannu Nyman --- package/network/services/dnsmasq/files/dhcp.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/dnsmasq/files/dhcp.conf b/package/network/services/dnsmasq/files/dhcp.conf index ec8b1ae950..d5b9dfa018 100644 --- a/package/network/services/dnsmasq/files/dhcp.conf +++ b/package/network/services/dnsmasq/files/dhcp.conf @@ -10,6 +10,7 @@ config dnsmasq option domain 'lan' option expandhosts 1 option nonegcache 0 + option cachesize 1000 option authoritative 1 option readethers 1 option leasefile '/tmp/dhcp.leases' -- 2.30.2