A PowerDNS web interface with advanced features.
- Multiple domain management
- Domain template
- User management
- User access management based on domain
- User activity logging
- Support Local DB / SAML / LDAP / Active Directory user authentication
- Support Google / Github / Azure / OpenID OAuth
- Support Two-factor authentication (TOTP)
- Dashboard and pdns service statistics
- DynDNS 2 protocol support
- Edit IPv6 PTRs using IPv6 addresses directly (no more editing of literal addresses!)
- Limited API for manipulating zones and records
- Full IDN/Punycode support
There are several ways to run PowerDNS-Admin. The easiest way is to use Docker. If you are looking to install and run PowerDNS-Admin directly onto your system check out the Wiki for ways to do that.
This are two options to run PowerDNS-Admin using Docker. To get started as quickly as possible try option 1. If you want to make modifications to the configuration option 2 may be cleaner.
The easiest is to just run the latest Docker image from Docker Hub:
$ docker run -d \
-e SECRET_KEY='a-very-secret-key' \
-v pda-data:/data \
-p 9191:80 \
ngoduykhanh/powerdns-admin:latest
This creates a volume called pda-data
to persist the SQLite database with the configuration.
-
Update the configuration if needed Other environment variables are mentioned in the legal_envvars. To use the Docker secrets feature it is possible to append
_FILE
to the environment variables and point to a file with the values stored in it.
Make sure to set the environment variableSECRET_KEY
to a long random string (https://flask.palletsprojects.com/en/1.1.x/config/#SECRET_KEY) -
Start docker container
$ SQLALCHEMY_DATABASE_URI="<your-database-uri>" docker-compose up
Where
<your-data-base-uri>
contains the database url to be used for PowerDNS Admin (not the DNS server itself).
Note: If you want to run the docker-compose stack in the background you can use the following command:
$ SQLALCHEMY_DATABASE_URI="<your-database-uri>" docker-compose up -d
The docker-compose stack is configured so that PowerDNS Admin will be restarted across system reboots if needed.
You can then access PowerDNS-Admin by pointing your browser to http://localhost:9191.
MIT. See LICENSE
If you like the project and want to support it, you can buy me a coffee ☕