aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2022-11-27 22:27:06 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-01-21 11:13:44 +0100
commita57796b137494fc20e984d0049e8e7430e9ebb25 (patch)
treefe84b5640330d976e889a2217c0273c9c64d12ed
parentf183ce35b8ea2fd991ac489fb223b09a1ecb4db0 (diff)
downloadupstream-a57796b137494fc20e984d0049e8e7430e9ebb25.tar.gz
upstream-a57796b137494fc20e984d0049e8e7430e9ebb25.tar.bz2
upstream-a57796b137494fc20e984d0049e8e7430e9ebb25.zip
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 <hannu.nyman@iki.fi>
-rw-r--r--package/network/services/dnsmasq/files/dhcp.conf1
1 files changed, 1 insertions, 0 deletions
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'