[Pdns-users] zoneToCache - File Format

Bill Pye bill.pye at phoenix-systems.co.uk
Wed Jan 19 18:04:19 UTC 2022


I'd recommends using RPZ on your recursor, if you sign-up here: [ https://github.com/Homas/ioc2rpz#installation | https://github.com/Homas/ioc2rpz#installation ] - you'll get a ton of regularly updates feeds and you an implement your own blacklist/whitelist fairly easily. Take a look at it and see what you think. 

I've been using those feeds for quite a while and without problems. 



> From: "Pdns-users" <pdns-users at mailman.powerdns.com>
> To: "Pdns-users" <PDNS-Users at MailMan.PowerDNS.com>
> Sent: Tuesday, 18 January, 2022 21:13:54
> Subject: [Pdns-users] zoneToCache - File Format

> Hi All,

> BackGround:

> PowerDNS Recursor v4.6.0

> I have the example from the docs
> (https://doc.powerdns.com/recursor/lua-config/ztc.html) working perfectly:

> zoneToCache(".", "url", "https://www.internic.net/domain/root.zone", {
> refreshPeriod = 0 })

> Problem:

> I’d like to load a “BlackList” file (or multiple BlackList files) the same way,
> but I have no idea what file format the PDNS zoneToCache function is looking
> for. In a perfect world, I’d like to be able to take a list of domains like
> this:

> Domain1.com

> Domain2.com

> Domain3.com

> *.Domain3.com

> Domain4.com

> Sub.Domain4.com

> Sub2.Domain4.com

> And load them via the zoneToCache feature, and have them all point to a
> specific, common IP Address, like, but I can’t seem to figure out
> how to accomplish this.

> Any thoughts, examples, or suggestions would be greatly appreciated. Thank you
> very much for your time & help.

> Cheers,

> Clint

> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20220119/a23b8299/attachment-0001.htm>

More information about the Pdns-users mailing list