[Pdns-users] Example API payload for zone serial number modification

Carsten Schmitz carsten.schmitz.hh at gmail.com
Fri Apr 3 16:28:55 UTC 2020


Hello,

here comes another question.

For some reason we would like to set the zone serial number on our own 
after we modified records.
Is there an easy way to modify the serial on the SOA record without 
having to send the whole SOA record?

I tried

curl -X PUT  --data '{"serial": 1111 }' -H 'X-API-Key: somkey' 
http://localhost:8081/api/v1/servers/localhost/zones/somedomain.com.

but that did not work out.I am a bit lost on the format of the payload 
data to accomplish this.

Thank you!

Stay safe and healthy

Carsten

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200403/5acac9e5/attachment.htm>


More information about the Pdns-users mailing list