Please note too big blocklists take significantly more memory in dnsmasq
runtime than on just address=hostname.example.net in plain text file. If
your router does not have enough storage, add USB drive. If it has very
low memory, I think you should direct your DNS queries to better suited
central
Ok understood and very valid answer.
Let's remember one thing the (excellent) dnsmasq is extremely common in
small routers and embedded devices where permanent storage is often not
available.
I am ok sticking to address= syntax so working on A records only but I
was wondering if dnsmasq
On 26/09/2021 20:06, Ercolino de Spiacico wrote:
> I have a working script to block ads via ads-blocker public-lists based
> on dnsmasq.
>
> The dnsmasq.additional file is populated with a long list of
> address=/baddomain/0.0.0.0
>
> It works fine but I was trying to improve speed/RAM usage so
On 27/09/2021 13:24, Ercolino de Spiacico wrote:
>
> Thank you for the answer.
>
> In my case, since I'm compiling the adblock list via script that takes
> already care of the duplicates, this dnsmasq behaviour is redundant
> and actually unwanted because it causes issues.
>
> Beside this, is
Thank you for the answer.
In my case, since I'm compiling the adblock list via script that takes
already care of the duplicates, this dnsmasq behaviour is redundant and
actually unwanted because it causes issues.
Beside this, is there a specific reason why you force this check on
CNAME only
Hey Enrico,
On Mon, 2021-09-27 at 12:21 +0200, Ercolino de Spiacico wrote:
> the time required is not linear
This is expected as inserted CNAMEs are checked against the
entire list to prevent adding duplicates. Hence, when adding more
and more new entries, the have to be checked against more and
See these two test here below.
TEST1: the dnsmasq.adblockFULL contains about 15.9K CNAME records. I'm
generating the wanted dnsmasq.adblock file with an increased number of
records. The test is essentially parsing the file and benchmarking them.
As you can see there's something happening after
I have a working script to block ads via ads-blocker public-lists based
on dnsmasq.
The dnsmasq.additional file is populated with a long list of
address=/baddomain/0.0.0.0
It works fine but I was trying to improve speed/RAM usage so I've tried
for a test to switch to a CNAME format, so: