Hi Frank yes for that endpoint ALL domains are affected. Small or big has no influence on the error. In the testdomain there are 8 records according list-zone and check-zone does not report any error
> Checked 8 records of 'REDACTED', 0 errors, 0 warnings. > If that looks fine, then I would enable / increase logging of the API > component and see if the logs tell you something more. is there a switch to just enable debug for api or has the debug to be enabled globally? Will try with debug and let the list know my findings :-) Thanks and have a good one tobi Am 07.05.19 um 16:55 schrieb frank+pdns--- via Pdns-users: > Hi Tobi, >> >> curl -X GET -H 'X-API-Key: MY_API' >> http://127.0.0.1:8081/api/v1/servers/localhost/zones/mydomain.tld >> >> I get a http 500 "Internal Server Error" message. Like said it's the >> only query that fails. Any other for example >> >> >> Anyone an idea what goes wrong here? >> Can I somehow enable debug of the api part of pdns? > > > That API endpoint is certainly correct and should work. Do you only have that > problem with a particular zone or with all zones? Is the zone very large by > chance? > > The best way to start debugging this, is first to check if pdns itself can > access the zone and the zone looks “sane” (do a pdnsutil list-zone > domain.tld, and a pdnsutil check-zone domain.tld). If that looks fine, then I > would enable / increase logging of the API component and see if the logs tell > you something more. > > Kind Regards, > > Frank Louwers > PowerDNS Certified Consultant > _______________________________________________ > Pdns-users mailing list > Pdns-users@mailman.powerdns.com > https://mailman.powerdns.com/mailman/listinfo/pdns-users > _______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com https://mailman.powerdns.com/mailman/listinfo/pdns-users