From: Hannu Nyman Date: Sun, 27 Nov 2022 20:27:06 +0000 (+0200) Subject: dnsmasq: set an increased cachesize default value X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a57796b137494fc20e984d0049e8e7430e9ebb25;p=openwrt%2Fstaging%2Fsvanheule.git 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 --- 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'