tuxis-ie / nsedit

DNS Editor working with PowerDNS's new API
GNU General Public License v2.0
196 stars 55 forks source link

After upgrade to latest nsedit and powerdns (v4) API Error 500 #132

Closed harkx closed 7 years ago

harkx commented 7 years ago

After upgrading (and correcting some records because of missing quotes etc..) I keep getting "API Error 500: Internal Server Error", the error that keeps returning in the pdns error (log/webserver) is;

HTTP ISE for "/api/v1/servers/localhost/zones": STL Exception: stou

Any idea what I'm missing here? I "think" this is a PowerDNS issue but can't figure out what's wrong so it might still be config or something.

image

tuxis-ie commented 7 years ago

What does pdnsutil check-all-zones say? Usually this is because of errors in a zone, which makes the API barf.

harkx commented 7 years ago
ns1 /etc/powerdns # pdnsutil list-all-zones -v
Nov 01 23:07:22 [bindbackend] Done parsing domains, 0 rejected, 0 new, 0 removed
Error: stou

Forgive me for opening the ticket too soon, but indeed, an incorrect SOA record caused this. after fixing that, the list-all-zones works !

Sorry for that but thanks! :) Now the api works as it should.