PowerDNS / pdns

PowerDNS Authoritative, PowerDNS Recursor, dnsdist
https://www.powerdns.com/
GNU General Public License v2.0
3.67k stars 907 forks source link

Add feature: lua axfr filter in outging requests #6839

Open vitalvas opened 6 years ago

vitalvas commented 6 years ago

Short description

I want to replace some records in axfr process to another nameserver.

Usecase

Description

I want to replace some records in axfr process to another nameserver each operator or another dns clusters. But need save original zone without any modification in local database.

Current function axfrfilter completely suitable for this. Only need to allow its use in outging AXFRs.

Habbie commented 6 years ago

I do need to point out that you could do this with a second PowerDNS instance on the same machine today.

vitalvas commented 6 years ago

I now have to do so. ( But it's too expensive to set up new instances for each such case. And what if you need to use dozens of other servers. This is a big niche to make a mistake.

Habbie commented 6 years ago

Why is it expensive? This instance will just need a few megabytes of memory, and you can use it for many domains by defining a filter script per domain.

vitalvas commented 6 years ago

In order to maintain these bundle - we need to implement this in automation tools. In some cases, you need to configure the dnsdist, because some operators do not know how to work a different port than the 53 port.