4.1.5-r1: PowerDNS Version 4.1.5, image build 14.0: PowerDNS Version 4.0.x, latest image build4: PowerDNS Version 4.x.x, latest image build# Start a MySQL Container
#$ docker run -d \
# --name pdns-mysql \
# -e MYSQL_ROOT_PASSWORD=supersecret \
# -v $PWD/mysql-data:/var/lib/mysql \
# mariadb:10.1
use postgresql instead
$ docker run --name pdns \
--link pdns-mysql:mysql \
-p 53:53 \
-p 53:53/udp \
-e PGSQL_USER=root \
-e PGSQL_PASS=supersecret \
psitrax/powerdns \
--cache-ttl=120 \
--allow-axfr-ips=127.0.0.1,123.1.2.3
Environment Configuration:
PGSQL_HOST=mysqlPGSQL_USER=rootPGSQL_PASS=rootPGSQL_DB=pdnsMYSQL_AUTOCONF=false/etc/pdns/conf.d or simply overwrite /etc/pdns/pdns.confPowerDNS Configuration:
Append the PowerDNS setting to the command as shown in the example above.
See docker run --rm psitrax/powerdns --help
GNU General Public License v2.0 applyies to PowerDNS and all files in this repository.
Content type
Image
Digest
Size
18.3 MB
Last updated
over 5 years ago
docker pull milekz/powerdns-pgsql:4.4.0