Followed the readme (https://doc.powerdns.com/md/httpapi/README/). Added those three lines to the pdns.conf, to get the API working. When we try an API call, it gives:
*<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">* *<html><head>* *<title>404 Not Found</title>* *</head><body>* *<h1>Not Found</h1>* *<p>The requested URL /servers/localhost/zones was not found on this server.</p>* *<hr>* *<address>Apache/2.4.7 (Ubuntu) Server at ourhostname.com <http://ourhostname.com> Port 80</address>* *</body></html>* When we add the lines to specify on which address the webserver should be found, we get: curl --local-port 8081 -H 'X-API-Key: NwY>kpVMMuB8ib' http://ourhostname.com/servers/localhost/zones <http://ns3.undev.nl/servers/localhost/zones> ruby-2.1.1 [16:05] curl: (45) bind failed with errno 48: Address already in use Anyone knows what's going wrong?
_______________________________________________ Pdns-users mailing list Pdns-users@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-users