[openwrt/openwrt] dnsmasq: set an increased cachesize default value
LEDE Commits
lede-commits at lists.infradead.org
Sat Jan 21 02:14:52 PST 2023
ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a57796b137494fc20e984d0049e8e7430e9ebb25
commit a57796b137494fc20e984d0049e8e7430e9ebb25
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Sun Nov 27 22:27:06 2022 +0200
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 at iki.fi>
---
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'
More information about the lede-commits
mailing list