would you recommend me any lists for OpenWrt? There are so many and I don't know which ones to choose, as I could risk overloading the RAM memory of my router ultimately. Thanks in advance.
The larger the better, one would assume, but kills low ram devices.
I'm blocking 1.4 mil domains, but it's not hosted on a router.
This currently blocks 47,351 domains. On an 800 MHz core, with a 100 Mbps connection, users browsing normally and doing DNS test (e.g. https://www.dnsleaktest.com/) could slow DNS resolution to make the Internet appear slow; or sites would just time out for a few seconds.
But yes, the domain block lists do have to be loaded in some memory or flash, dnsmasq uses more CPUs on lookups than memory (I barely see memory jump above 0% doing a leak test).
I'd be more concerned about CPUs blocking via domain.
Blocking by IPs more takes more memory...I block:
Header: family inet hashsize 65536 maxelem 131072 Size in memory: 3499624 # <--------------- References: xxxxxxxx Number of entries: 108092