<div dir="auto"><div>Thank you, missed it somehow.<div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">--</div><div dir="auto">Thanks,</div><div dir="auto">SG</div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 30 Jun, 2023, 5:37 pm Frank Louwers, <<a href="mailto:frank%2Bpdns@tembo.be">frank+pdns@tembo.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-break:after-white-space"><div style="line-break:after-white-space">Hi Shailendra,<div><br></div><div>This is documented behaviour: <a href="https://doc.powerdns.com/authoritative/domainmetadata.html" target="_blank" rel="noreferrer">https://doc.powerdns.com/authoritative/domainmetadata.html</a> states:</div><div><br></div><div><p style="font-family:inherit;box-sizing:border-box;margin:0px 0px 10px;padding:0px;font-size:inherit"><font color="#942192">The option SOA-EDIT-API can not be written or read via the HTTP API metadata endpoint.</font></p><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box"><span id="m_-533869733202945796metadata-allow-axfr-from" style="box-sizing:border-box;color:rgb(51,51,51);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:16px"></span><br></div><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box"><br></div><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box">Cheers,</div><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box"><br></div><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box">Frank</div><div id="m_-533869733202945796allow-axfr-from" style="box-sizing:border-box"><br></div><br><br><div>
<div><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;word-wrap:break-word;line-break:after-white-space"><div>Frank Louwers<br>PowerDNS Certified Consultant @ Kiwazo.be</div></div></div>

</div>
<div><br><blockquote type="cite"><div>On 30 Jun 2023, at 13:55, Shailendra Gautam via Pdns-users <<a href="mailto:pdns-users@mailman.powerdns.com" target="_blank" rel="noreferrer">pdns-users@mailman.powerdns.com</a>> wrote:</div><br><div><div dir="ltr">Hi, <br><br>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?<br><br>[root@sgpowerdns /]# curl -X GET <a href="http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata" target="_blank" rel="noreferrer">http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata</a><br>[{"kind": "SOA-EDIT", "metadata": ["EPOCH"], "type": "Metadata"}, {"kind": "SOA-EDIT-API", "metadata": ["DEFAULT"], "type": "Metadata"}]<br>[root@sgpowerdns /]#<br>[root@sgpowerdns /]# curl -X GET <a href="http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT" target="_blank" rel="noreferrer">http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT</a><br>{"kind": "SOA-EDIT", "metadata": ["EPOCH"], "type": "Metadata"}<br>[root@sgpowerdns /]#<br>[root@sgpowerdns /]# curl -X GET <a href="http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT-API" target="_blank" rel="noreferrer">http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata/SOA-EDIT-API</a><br>{"error": "Unsupported metadata kind 'SOA-EDIT-API'"}<br>[root@sgpowerdns /]#<br><br>--<br>Thanks,<br>SG</div>
_______________________________________________<br>Pdns-users mailing list<br><a href="mailto:Pdns-users@mailman.powerdns.com" target="_blank" rel="noreferrer">Pdns-users@mailman.powerdns.com</a><br><a href="https://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank" rel="noreferrer">https://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br></div></blockquote></div><br></div></div></div></blockquote></div></div></div>