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 <man...@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'

_______________________________________________
Pdns-users mailing list
Pdns-users@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/pdns-users

Reply via email to