julianxhokaxhiu / docker-powerdns

PowerDNS + Recursor + Admin GUI + Adblock in one single Docker
MIT License
53 stars 27 forks source link

Can not get API_Key working #9

Open timmeade opened 5 years ago

timmeade commented 5 years ago

I simply cannot get this to work.

I have used the latest image and built from the Dockerfile.

No matter what it appears the GUI cannot talk to the API.

I have changed the API_KEY in the pdns.conf file and rebuilt.

Always connection refused on port 8081.

exec into dockerfile and curl 127.0.0.1:8081 connection refused.

Amy I making a simple mistake with the key?

julianxhokaxhiu commented 3 years ago

How are you spawning the container? You need to map the port 8081 when running it, by default is not exposed but you can force it via CLI.