john9527, thanks for your warning. Updated my post with scripts. I have 264048 in my /tmp/mnt/microsd/dnsmasq/hosts.blocked and it seems to work just fine.
ColinTaylor, thanks, got it.
What about checking if the ip_set module is loaded, can you suggest me the way, please?
Also, I have a bunch...