Hi Shailendra, This is documented behaviour: https://doc.powerdns.com/authoritative/domainmetadata.html states:
The option SOA-EDIT-API can not be written or read via the HTTP API metadata endpoint. Cheers, Frank Frank Louwers PowerDNS Certified Consultant @ Kiwazo.be > On 30 Jun 2023, at 13:55, Shailendra Gautam via Pdns-users > <pdns-users@mailman.powerdns.com> wrote: > > Hi, > > I'd like to edit the domain metadata SOA-EDIT-API to EPOCH but the API > doesn't allow it, however I can edit SOA-EDIT kind. Is that a bug? > > [root@sgpowerdns /]# curl -X GET > http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata > [{"kind": "SOA-EDIT", "metadata": ["EPOCH"], "type": "Metadata"}, {"kind": > "SOA-EDIT-API", "metadata": ["DEFAULT"], "type": "Metadata"}] > [root@sgpowerdns /]# > [root@sgpowerdns /]# curl -X GET > http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT > {"kind": "SOA-EDIT", "metadata": ["EPOCH"], "type": "Metadata"} > [root@sgpowerdns /]# > [root@sgpowerdns /]# curl -X GET > http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT-API > {"error": "Unsupported metadata kind 'SOA-EDIT-API'"} > [root@sgpowerdns /]# > > -- > Thanks, > SG > _______________________________________________ > 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