[Pdns-users] Powerdns auto handle A records when a new record is added

Brian Candler b.candler at pobox.com
Mon Feb 4 13:03:10 UTC 2019


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.



More information about the Pdns-users mailing list