dnsmasq: set an increased cachesize default value
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 27 Nov 2022 20:27:06 +0000 (22:27 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Sat, 21 Jan 2023 10:13:44 +0000 (11:13 +0100)
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>
package/network/services/dnsmasq/files/dhcp.conf

index ec8b1ae950fe53528c1c499a3dc98e92a23c18b0..d5b9dfa018c146a0031920f75c4614f9b2681c4b 100644 (file)
@@ -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'