[Pdns-users] Recursor: Black list

ktm at rice.edu ktm at rice.edu
Fri Oct 17 12:42:03 UTC 2014


On Fri, Oct 17, 2014 at 01:18:36AM -0300, Ciro Iriarte wrote:
> Hi!, I've seen the published LUA scripts examples and seems pretty
> simple to redirect certain domains (one?) just modifying examples
> available, but what about have a list of hundreds or thousands of
> sites to blacklist?.
> 
> I would like to avoid fancy options like database conections for
> example, will "grepping" on a CSV file affect performance notably?.
> What's the general consensus/experience?
> 
> Regards,
> 
> -- 
> Ciro Iriarte
> http://iriarte.it
> --

Hi Ciro,

We used a CDB key value store. It was easy to use/update and had
very good performance. "grepping" is O(n*n) so it will tank as
your list grows and you really don't want to slow down your DNS
lookups.

Regards,
Ken




More information about the Pdns-users mailing list