pschiffe / docker-pdns

Docker images for PowerDNS
MIT License
270 stars 80 forks source link

Docker-compose does not open port 53 #102

Closed DatPenguin closed 1 year ago

DatPenguin commented 1 year ago

Hi,

The docker-compose file works great overall, but it does not expose the port 53/udp outside of its containers, so it is not possible to use the server without having to expose it manually. Is that the intended behavior ? The README also did not mention whether you should open it on the master or not ; doing so seems to works but it is maybe not the way you are supposed to do it.

Thanks !

pschiffe commented 1 year ago

Hi @DatPenguin. The docker-compose is setup that the services work within internal virtual network pdns. There are 3 containers that use port 53/udp - resolver, master and slave. It depends on you what you want to achieve - the included docker-compose file is more of an example what and how can be configured.