We use the API to do this. Wouldn't that work regardless of which backend is being used?
For IPv6, you could break your zone up at some nibble boundaries (/56) and have zones. We're using a /32 broken in to /48 zones and it's fine for us. We're using python and this module - https://github.com/outini/python-powerdns --Chris On Fri, Jun 3, 2022 at 8:56 AM Ambauen Daniel (ID) via Pdns-users < pdns-users@mailman.powerdns.com> wrote: > Dear List > > There is a possibility to create PTR records dynamically with Lua Records > (Reverse DNS functions createReverse and createReverse6). > > For IPv4 addresses the Lua records seem to me a suitable possibility. > For example to cover a subnet /16 you need 255 Lua records. > > When IPv6 comes into play it gets more difficult. > Just as an example, if I want to cover a /48 prefix I need a huge amount > of Lua records. > There must be a better solution to solve this problem. > > I ask myself if there is a way to achieve the same goal with the Lua2 > backend. > > The Lua2 backend generates a response for each PTR request, if the > PostgreSQL backend does not provide a response > the Lua2 PTR response is sent instead of the NXDOMAIN message. > With such a solution all Lua records in the arpa domains are unnecessary. > > Is something like this possible with the Lua2 backend? > > We are using PowerDNS Authoritative Server 4.6.2 > > Kind regards > Daniel > > ------------------------------- > ETH Zürich > Daniel Ambauen > ID Infrastructure > ------------------------------- > > > > > > > _______________________________________________ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > https://mailman.powerdns.com/mailman/listinfo/pdns-users >
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users