Prerequisites
You need:- PowerDNS Authoritative Server with the HTTP API enabled
- A PowerDNS API key
- Go for local development, or Docker for container deployment
Run with Go
Start from the example config:.env and set at least:
http://localhost:8080.
Override the listen address
Use CLI flags when you want the process to listen somewhere other than the values in.env:
Run with Docker Compose
Copy.env.example to .env, or edit the environment block in
docker-compose.yml directly. The important part is that the container gets a
reachable PDNS_API_URL and the correct PDNS_API_KEY.
Example:
http://localhost:8080.