<div dir="ltr"><div dir="ltr">We use the API to do this. Wouldn't that work regardless of which backend is being used?</div><div dir="ltr"><br></div><div>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.</div><div><br></div>We're using python and this module - <a href="https://github.com/outini/python-powerdns">https://github.com/outini/python-powerdns</a><div><br></div><div>--Chris</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 3, 2022 at 8:56 AM Ambauen Daniel (ID) via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com">pdns-users@mailman.powerdns.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear List<br>
<br>
There is a possibility to create PTR records dynamically with Lua Records (Reverse DNS functions createReverse and createReverse6).<br>
<br>
For IPv4 addresses the Lua records seem to me a suitable possibility. <br>
For example to cover a subnet /16 you need 255 Lua records.<br>
<br>
When IPv6 comes into play it gets more difficult.<br>
Just as an example, if I want to cover a /48 prefix I need a huge amount of Lua records. <br>
There must be a better solution to solve this problem.<br>
<br>
I ask myself if there is a way to achieve the same goal with the Lua2 backend. <br>
<br>
The Lua2 backend generates a response for each PTR request, if the PostgreSQL backend does not provide a response <br>
the Lua2 PTR response is sent instead of the NXDOMAIN message. <br>
With such a solution all Lua records in the arpa domains are unnecessary.<br>
<br>
Is something like this possible with the Lua2 backend?<br>
<br>
We are using PowerDNS Authoritative Server 4.6.2<br>
<br>
Kind regards<br>
Daniel<br>
<br>
-------------------------------<br>
ETH Zürich<br>
Daniel Ambauen<br>
ID Infrastructure<br>
-------------------------------                  <br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank">Pdns-users@mailman.powerdns.com</a><br>
<a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" rel="noreferrer" target="_blank">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</blockquote></div></div></div>