[Pdns-users] Example API payload for zone serial number modification
Kevin P. Fleming
kevin at km6g.us
Fri Apr 3 22:19:53 UTC 2020
The PUT method for zones does not allow changing the SOA serial number.
On Fri, Apr 3, 2020 at 12:29 PM Carsten Schmitz via Pdns-users
<pdns-users at mailman.powerdns.com> wrote:
>
> 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
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users
More information about the Pdns-users
mailing list