[Dnsmasq-discuss] Blacklisting 1 Million domains

Simon Kelley simon at thekelleys.org.uk
Wed Mar 11 22:10:28 GMT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/03/15 11:50, Clodo wrote:
> Please think also about dynamic list when working on this. To avoid
> the need of updating and reloading the dnsmasq config file every
> time the list is updated.

That's a different problem, which is also getting some thought.

> 
> Also, in my case the destination of all domains is not always the 
> 127.0.0.1, my case is not a blacklist, we have thousand of
> specific domain that need to point to other unique ip (it's like a
> smart-dns service). So, i hope a better solution rather than an
> 'for every domain in that list, use this answer".

There's nothing special about 127.0.0.1 in this stuff.

Cheers,

Simon.

> Thanks.
> 
>> On 10/03/15 10:00, Ramz wrote:
>>> Hi all,
>> 
>>> I am using dnsmasq to blacklist 1 Million entries. I am using
>>> theEnigmail following format to do so.
>> 
>>> address=/some-domain/127.0.0.1
>> 
>>> I have 1 Million such entries. Dnsmasq works fine but the
>>> response time is low as the search is linear. It results in
>>> huge usage of CPU as well. Is there a way to use enable hashing
>>> of domains so that the search could be much faster ? If not,
>>> are there any plans to implement this feature ?
>> 
>> 
>>> Thanks Ramz
>> 
>> 
>> Fixing this is in progress. Chen Wei posted some patches a couple
>> of weeks ago which address the problem, and I have some
>> complementaryEnigmail work underway. Expect the definative
>> solution soon-ish.
>> 
>> 
>> Cheers,
>> 
>> Simon.
>> 
>> 
>> _______________________________________________ Dnsmasq-discuss
>> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
>> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>> 
> 
> 
> 
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlUAvVQACgkQKPyGmiibgrcdDACghQ/5TsUrsEfx1PXulxeyI99+
DR0An16Mvdy5eza4UoVctPqJ4bI/5eGp
=2Sap
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list