Add a dot at the end. Aki
On 04.04.2017 04:26, [email protected] wrote: > Hi All… > > Using the API, and calling it with POST, when I call: > > dns1.mydomain.com:8081/api/v1/servers/localhost/zones > <http://dns1.registrationtek.com:8081/api/v1/servers/localhost/zones> > > With this data: > > { > "name":"jimtestapi.com <http://jimtestapi.com>", > "kind": "Master", > "dnssec":false, > "soa-edit":"INCEPTION-INCREMENT", > "masters": [], > "nameservers": ["dns1.mydomain.com <http://dns1.mydomain.com>"] > } > > I get this error (422 - unknown status): > > { > "error": "DNS Name 'jimtestapi.com <http://jimtestapi.com>' is not > canonical" > } > > This was taken right from these examples: > > https://n40lab.wordpress.com/2015/05/16/centos-7-using-the-powerdns-web-api-to-add-and-edit-records/ > > Could this be a config issue on my pdns, perhaps relating to default > SOA? I tried fiddling with those settings but no joy… > > > > > _______________________________________________ > Pdns-users mailing list > [email protected] > https://mailman.powerdns.com/mailman/listinfo/pdns-users
_______________________________________________ Pdns-users mailing list [email protected] https://mailman.powerdns.com/mailman/listinfo/pdns-users
