Re: [Pdns-users] zoneToCache - File Format

2022-01-20 Thread Otto Moerbeek via Pdns-users
On Wed, Jan 19, 2022 at 04:54:25PM +, Clint Anderson via Pdns-users wrote: > Otto & Walter - Thank you for the replies! > > Otto, > > My assumption was that the cache is the most efficient and if it was in the > cache, it would return the cached answer and never go looking for an update.

Re: [Pdns-users] zoneToCache - File Format

2022-01-19 Thread Bill Pye via Pdns-users
a look at it and see what you think. I've been using those feeds for quite a while and without problems. Regards Bill > From: "Pdns-users" > To: "Pdns-users" > Sent: Tuesday, 18 January, 2022 21:13:54 > Subject: [Pdns-users] zoneToCache - File Format

Re: [Pdns-users] zoneToCache - File Format

2022-01-19 Thread Walter Parker via Pdns-users
If what you want Is a DNS Blacklist, those are a separate thing from a DNS Cache. Instead of trying to use an existing DNS server, I’d spin up a separate instance of a PowerDNS authoritative server and populate it with your domains to be blocked (if the list is mostly static, you might use LMDB, sq

Re: [Pdns-users] zoneToCache - File Format

2022-01-19 Thread Otto Moerbeek via Pdns-users
On Wed, Jan 19, 2022 at 04:54:25PM +, Clint Anderson via Pdns-users wrote: > Otto & Walter - Thank you for the replies! > > Otto, > > My assumption was that the cache is the most efficient and if it was in the > cache, it would return the cached answer and never go looking for an update.

Re: [Pdns-users] zoneToCache - File Format

2022-01-19 Thread Clint Anderson via Pdns-users
Otto & Walter - Thank you for the replies! Otto, My assumption was that the cache is the most efficient and if it was in the cache, it would return the cached answer and never go looking for an update. Thank you for the clarification on the zoneToCache functionality, seems I was barking up th

Re: [Pdns-users] zoneToCache - File Format

2022-01-18 Thread Otto Moerbeek via Pdns-users
On Tue, Jan 18, 2022 at 09:13:54PM +, Clint Anderson via Pdns-users wrote: > 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/

Re: [Pdns-users] zoneToCache - File Format

2022-01-18 Thread Walter Parker via Pdns-users
Looking at the zone file, it is BIND Zone file. That format is defined in serval places ( if not in the PowerDNS docs, search for BIND Zone Format) . To create a black list, you would take all of domains/hosts to deny and add A records with a value of 127.0.0.2. There is a informal standard for thi

[Pdns-users] zoneToCache - File Format

2022-01-18 Thread Clint Anderson via Pdns-users
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