[Pdns-users] "HTTP/1.1 422 Unprocessable Entity" when creating a zone

Frank Louwers frank+pdns at tembo.be
Tue Jun 30 15:36:22 UTC 2020


That exact same example works in my setup, which uses 4.3.0 with a MySQL backend.

Could you provide us your full config, backend & backend schema? Could you also increase logging (see https://docs.powerdns.com/authoritative/settings.html#webserver-loglevel) and send us the log when you're doing that?

Thanks!

Frank


> On 30 Jun 2020, at 17:26, Tomasz Chmielewski <mangoo at wpkg.org> wrote:
> 
> This type? https://docs.powerdns.com/authoritative/http-api/zone.html <https://docs.powerdns.com/authoritative/http-api/zone.html>
> 
> Objects
> 
> A Zone object represents an authoritative DNS Zone.
> 
> A Resource Record Set (below as “RRset”) are all records for a given name and type.
> 
> type (string) – Set to “Zone”
> 
> 
> So let's see - nope, still error:
> 
> 
> # curl --data '{"name":"example.org <http://example.org/>.", "kind": "Native", "type": "Zone", "nameservers": ["ns1.example.org <http://ns1.example.org/>.", "ns2.example.org <http://ns2.example.org/>."]}' -v -H 'X-API-Key: eshie3aecokogaed8ahH6ga8goo2Ohphaequahgee1aizeo5fi'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20200630/dcf629ed/attachment-0001.htm>


More information about the Pdns-users mailing list