[Dnsmasq-discuss] Implications of raising dns-forward-max

Eric Fahlgren ericfahlgren at gmail.com
Wed Jun 28 01:35:38 UTC 2023


A couple posts on the OpenWrt forum have indicated that they are having DNS
issues that are resolved by raising the forward limit from OpenWrt's
default of 150 to 500.

dns-forward-max=500

Assuming that there are indeed a lot of queries going on simultaneously,
what does this affect?  Does it increase the transient storage used during
these peaks or is the memory footprint of dnsmasq increased overall?  My
experiments say, "it's only transient", but I'm curious if the experts
could weigh in.

I did a quick test with both settings on a box with dnsmasq 2.86, loaded
100 pages in the old web browser, full of cdn refs and such, and couldn't
see any functional difference in CPU or RAM usage between the two tests.

So, I guess the real question is, is there any reason not to raise the
default for the typically small-memory, limited-CPU boxes that run OpenWrt?

Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20230627/534b8c6b/attachment.htm>


More information about the Dnsmasq-discuss mailing list