[Dnsmasq-discuss] Blacklisting 1 Million domains

Simon Kelley simon at thekelleys.org.uk
Tue Mar 10 11:04:46 GMT 2015


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

On 10/03/15 10:00, Ramz wrote:
> Hi all,
> 
> I am using dnsmasq to blacklist 1 Million entries. I am using the 
> 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 complementary
work underway. Expect the definative solution soon-ish.


Cheers,

Simon.

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

iEYEARECAAYFAlT+z84ACgkQKPyGmiibgrcjagCfTOla/mfBTueMQdojhOmiqM+F
sH8An02F68M5zZjfux6zVu6VSitjyzYj
=v03O
-----END PGP SIGNATURE-----



More information about the Dnsmasq-discuss mailing list