I guess I didn’t quite understood your issue then. What do you mean with flooding exactly? The fact that a bunch if PTRs are queried over and over again every few seconds?
The obvious solution would be to not log those. If that is not possible, then reenabling the local dnsmasq (without DHCP service) should reduce the amount of queries that end up upstream.
If with flooding you mean a lot of queries in a way shorter interval than every few seconds then this could be a bug that needs addressing. For that it would be useful to know which pages trigger that behavior exactly.
Edit: seems I conflated the OPs issue with the network topology described by @akardam .
If logging is enabled at the local dnsmasq and something local is querying a lot, then a lot of logs are written, obviously. Moving caching logic into the local LuCI resolver could be a solution, but it would essentially duplicate dnsmasq’s caching logic which doesn’t make that much sense either. The idea is to rely upon dnsmasq to cache and deduplicate queries.