On 04/02/2019 12:17, Oğuz Yarımtepe wrote:
I need to add a new A record whenever i added a record starting with a prefix like fooPAPA to my zone by removing the suffix, PAPA with the samce ip. How can i do that? Lua or any other webhook way is possible.

How are you adding the records - e.g. using the pdns HTTP API, or pdnsutil, or inserting directly into a SQL database, or something else?

Which storage backend are you using?  e.g. it gsql?

Probably the right place to apply this policy is at the point where you perform the insert.  But you might be able to frig something e.g. with stored procedures in your database.

_______________________________________________
Pdns-users mailing list
[email protected]
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to