Browse Source

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 <[email protected]>
Hannu Nyman 3 years ago
parent
commit
a57796b137
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/network/services/dnsmasq/files/dhcp.conf

+ 1 - 0
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'