<div dir="ltr"><p style="font-size:12.8000001907349px;margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.8048000335693px;background-image:initial;background-repeat:initial">We're running a master-slave setup. We want to use the PowerDNS API to automatically create master zones on the master server from our application. We created a master zone template, so when a domain is added the zonefile is automatically filled with the correct records and notifies the slave.</p><p style="font-size:12.8000001907349px;margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.8048000335693px;background-image:initial;background-repeat:initial">I can't find any good reference on how to do this through the PowerDNS API. I want to post it a domain from the application via an API call and request to make a new master zone file for the domain with the zone template.</p><p style="font-size:12.8000001907349px;margin:0px 0px 1em;padding:0px;border:0px;vertical-align:baseline;clear:both;color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;line-height:17.8048000335693px;background-image:initial;background-repeat:initial">Does anyone have an API call example on how to do this?</p></div>