[Dnsmasq-discuss] Feature request = block-conf

Ercolino de Spiacico bellocarico at hotmail.com
Fri Feb 4 09:46:19 UTC 2022


I have a feature request.

Since dnsmasq is extremely popular on embedded devices with limited 
resources (e.g. router) it would be a huge improvement to have a new 
directive to block a list of domains.

Practical example:
We currently need to add an external file to the main config (preferred) 
e.g.:

conf-file=/etc/dnsmasq.adblock

and define the syntax in a relatively long way

address=/baddomain.com/#
address=/baddomain2.com/#


Suggestion -

Could we please have a new directive e.g. block-file

block-conf=/etc/dnsmasq.adblock

where only domains are needed in the mapped file?

baddomain.com
baddomain2.com


This would reduce drastically the demand on storage (so memory). Some of 
the public adblock lists are huge hence having the adblock file 
literally 1/2 of the original size would be amazing.

Thanks



More information about the Dnsmasq-discuss mailing list