Docker Compose
Container networking
SetPDNS_API_URL to an address that is reachable from inside the container.
Common values:
http://pdns:8081when PowerDNS is another service in the same Compose projecthttp://host.docker.internal:8081when PowerDNS runs on the Docker host and your platform supports that hostnamehttp://172.17.0.1:8081for the default Linux bridge host address