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@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@mailman.powerdns.com > https://mailman.powerdns.com/mailman/listinfo/pdns-users _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users