[Pdns-users] pdns server api access leads to "Internal Server Error"
jahlives at gmx.ch
Tue May 7 15:05:56 UTC 2019
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
Am 07.05.19 um 16:55 schrieb frank+pdns--- via Pdns-users:
> Hi Tobi,
>> curl -X GET -H 'X-API-Key: MY_API'
>> 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 at mailman.powerdns.com
More information about the Pdns-users