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>
This commit is contained in:
Hannu Nyman 2022-11-27 22:27:06 +02:00 committed by Christian Marangi
parent f183ce35b8
commit a57796b137
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ config dnsmasq
option domain 'lan' option domain 'lan'
option expandhosts 1 option expandhosts 1
option nonegcache 0 option nonegcache 0
option cachesize 1000
option authoritative 1 option authoritative 1
option readethers 1 option readethers 1
option leasefile '/tmp/dhcp.leases' option leasefile '/tmp/dhcp.leases'