[GH-ISSUE #179] Unsupported API version #115

Closed
opened 2026-02-28 01:21:04 +03:00 by kerem · 2 comments
Owner

Originally created by @christoph-ernst on GitHub (Aug 14, 2018).
Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/179

Hi all
I setup nsedit with PowerDNS 4.1.3 (Authoritative Server).
my pdns.conf shows:

api=yes
api-key=<apipw>
api-logfile=/var/log/pdns.log

cache-ttl=60
guardian=yes

launch=gmysql
gmysql-host=host.docker.internal
gmysql-port=3306
gmysql-dbname=pdns
gmysql-user=powerdns
gmysql-password=<powerdnspw>
gmysql-dnssec=no

logging-facility=0
loglevel=7
master=yes

setgid=pdns
setuid=pdns

socket-dir=/var/run
version-string=full

webserver=yes
webserver-address=0.0.0.0
webserver-allow-from=127.0.0.1,172.17.0.0/24,::1
webserver-password=<webserverpw>
webserver-port=8081

when i open up the nsedit gui i am able to login using admin/admin.
Right after the successful login i receive an error: "Unsupported API version".

Could you suggest what has to be done to get a supported API?
thank you - best regards

Originally created by @christoph-ernst on GitHub (Aug 14, 2018). Original GitHub issue: https://github.com/tuxis-ie/nsedit/issues/179 Hi all I setup nsedit with PowerDNS 4.1.3 (Authoritative Server). my pdns.conf shows: ``` api=yes api-key=<apipw> api-logfile=/var/log/pdns.log cache-ttl=60 guardian=yes launch=gmysql gmysql-host=host.docker.internal gmysql-port=3306 gmysql-dbname=pdns gmysql-user=powerdns gmysql-password=<powerdnspw> gmysql-dnssec=no logging-facility=0 loglevel=7 master=yes setgid=pdns setuid=pdns socket-dir=/var/run version-string=full webserver=yes webserver-address=0.0.0.0 webserver-allow-from=127.0.0.1,172.17.0.0/24,::1 webserver-password=<webserverpw> webserver-port=8081 ``` when i open up the nsedit gui i am able to login using admin/admin. Right after the successful login i receive an error: "Unsupported API version". Could you suggest what has to be done to get a supported API? thank you - best regards
kerem closed this issue 2026-02-28 01:21:04 +03:00
Author
Owner

@christoph-ernst commented on GitHub (Aug 14, 2018):

my further investigations showed that on:
# curl -s -H 'X-API-Key: <apipw>' http://172.17.0.2:8081/api/v1/servers/localhost
powerdns answers with:

{
  "config_url": "/api/v1/servers/localhost/config{/config_setting}",
  "daemon_type": "authoritative",
  "id": "localhost",
  "type": "Server",
  "url": "/api/v1/servers/localhost",
  "version": "0.0.2400g4c928be",
  "zones_url": "/api/v1/servers/localhost/zones{/zone}"
}

isn't the version string strange?

<!-- gh-comment-id:412907180 --> @christoph-ernst commented on GitHub (Aug 14, 2018): my further investigations showed that on: `# curl -s -H 'X-API-Key: <apipw>' http://172.17.0.2:8081/api/v1/servers/localhost` powerdns answers with: ``` { "config_url": "/api/v1/servers/localhost/config{/config_setting}", "daemon_type": "authoritative", "id": "localhost", "type": "Server", "url": "/api/v1/servers/localhost", "version": "0.0.2400g4c928be", "zones_url": "/api/v1/servers/localhost/zones{/zone}" } ``` isn't the version string strange?
Author
Owner

@christoph-ernst commented on GitHub (Aug 14, 2018):

Was able to resolve the issue using the pdns mailing list.
On error i used packages from the master branch...

<!-- gh-comment-id:413022319 --> @christoph-ernst commented on GitHub (Aug 14, 2018): Was able to resolve the issue using the pdns mailing list. On error i used packages from the master branch...
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nsedit#115
No description provided.