<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi All…<div class=""><br class=""></div><div class="">Using the API, and calling it with POST, when I call:</div><div class=""><br class=""></div><div class=""><span style="color: rgb(80, 80, 80); font-family: OpenSans, Helvetica, Arial, sans-serif; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(250, 250, 250);" class=""><a href="http://dns1.registrationtek.com:8081/api/v1/servers/localhost/zones" class="">dns1.mydomain.com:8081/api/v1/servers/localhost/zones</a></span></div><div class=""><span style="color: rgb(80, 80, 80); font-family: OpenSans, Helvetica, Arial, sans-serif; font-variant-ligatures: normal; orphans: 2; white-space: pre-wrap; widows: 2; background-color: rgb(250, 250, 250);" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">With this data:</div><div class=""><br class=""></div><div class=""><div class="">{</div><div class=""> "name":"<a href="http://jimtestapi.com" class="">jimtestapi.com</a>",</div><div class=""> "kind": "Master",</div><div class=""> "dnssec":false,</div><div class=""> "soa-edit":"INCEPTION-INCREMENT",</div><div class=""> "masters": [],</div><div class=""> "nameservers": ["<a href="http://dns1.mydomain.com" class="">dns1.mydomain.com</a>"]</div><div class="">}</div></div><div class=""><br class=""></div><div class="">I get this error (422 - unknown status):</div><div class=""><br class=""></div><div class=""><div class="">{</div><div class=""> "error": "DNS Name '<a href="http://jimtestapi.com" class="">jimtestapi.com</a>' is not canonical"</div><div class="">}</div></div><div class=""><br class=""></div><div class="">This was taken right from these examples:</div><div class=""><br class=""></div><div class=""><a href="https://n40lab.wordpress.com/2015/05/16/centos-7-using-the-powerdns-web-api-to-add-and-edit-records/" class="">https://n40lab.wordpress.com/2015/05/16/centos-7-using-the-powerdns-web-api-to-add-and-edit-records/</a></div><div class=""><br class=""></div><div class="">Could this be a config issue on my pdns, perhaps relating to default SOA? I tried fiddling with those settings but no joy…</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>