Skip to main content
PowerDNS Web UI reads configuration from environment variables and an optional .env file in the working directory. CLI flags can override the listen host and port.

Environment variables

Example .env

CLI flags

Example:

PowerDNS server ID

Most PowerDNS installations use localhost as the server ID. If your PowerDNS API uses a different server ID, set PDNS_SERVER_ID to match it.

Debug flag

.env.example also includes:
The current server code does not consume DEBUG. Treat it as reserved for development tooling rather than an application feature switch.