<div dir="ltr">I actually just copied/adjusted your config and run the same curl commands. So my config in the pdns.conf for the API:<div>







<p class=""><span class=""><i>webserver-address=ip address of the server</i></span></p>
<p class=""><span class=""><i>webserver-allow-from=0.0.0.0, ::/0</i></span></p>
<p class=""><span class=""><i>webserver-port=8081</i></span></p>
<p class=""><span class=""><i>webserver=yes</i></span></p>
<p class=""><span class=""><i>experimental-api-key=otto</i></span></p>
<p class=""><span class=""><i>experimental-json-interface=yes</i></span></p><p class="">The curl commands I run form my own system to the server:</p><p class="">







</p><p class=""><span class=""><i>curl -s -H 'X-API-Key: otto' <a href="http://xxx.xx.xx.xx:8081/servers/localhost">http://xxx.xx.xx.xx:8081/servers/localhost</a></i></span></p><p class=""><span class="">







</span></p><p class=""><span class="">curl -s -H 'X-API-Key: otto' <a href="http://xxx.xx.xx.xx:8081/servers/localhost/zones">http://xxx.xx.xx.xx:8081/servers/localhost/zones</a></span></p><p class="">And it just returns nothing. So the crud in the API key wasn't an issue I guess. No errors and also no result. But there is a zone file in there, so it should be returning something. I restarted pdns a million times and still no 8081 port listening with this config. </p><p class=""><br></p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-05 7:34 GMT+01:00 Jan-Piet Mens <span dir="ltr"><<a href="mailto:jpmens.dns@gmail.com" target="_blank">jpmens.dns@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> This version of PowerDNS we use is PowerDNS Authoritative Server 3.4.2.<br>
> This is the entire pdns.conf file in /etc/powerdns:<br>
><br>
> <a href="http://pastebin.com/14LqMbLp" target="_blank">http://pastebin.com/14LqMbLp</a><br>
<br>
</span>Line 623 has crud behind it; that better not be in the configuration.<br>
<br>
Also show us the *exact* curl command you're using from the<br>
command-line, and the API key (if you're using line 623) better be<br>
protected from the shell. :)<br>
<span class="HOEnZb"><font color="#888888"><br>
        -JP<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Pdns-users mailing list<br>
<a href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a><br>
<a href="http://mailman.powerdns.com/mailman/listinfo/pdns-users" target="_blank">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a><br>
</div></div></blockquote></div><br></div>