[Pdns-users] Recursor: Black list

Ciro Iriarte cyruspy at gmail.com
Fri Oct 17 14:49:24 UTC 2014


2014-10-17 9:42 GMT-03:00 ktm at rice.edu <ktm at rice.edu>:
> 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

Hi Ken, I'll look at the LUA+CDB mix given it seems more elegant, any
document specific for PDNS you can point me to?

Regards,!

-- 
Ciro Iriarte
http://iriarte.it
--




More information about the Pdns-users mailing list