Docker image of PowerDNS server for x86_64 and ARM
1.1K
4.5.1# 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
$ docker run --name pdns \
--link pdns-mysql:mysql \
-p 53:53 \
-p 53:53/udp \
-e MYSQL_USER=root \
-e MYSQL_PASS=supersecret \
-e MYSQL_PORT=3306 \
psitrax/powerdns \
--cache-ttl=120 \
--allow-axfr-ips=127.0.0.1,123.1.2.3
If container start with no configuration it automatically initialize it from template and env vars. If config exists it never be changed by image and can be edited by customer.
Environment Configuration:
MYSQL_HOST=mysqlMYSQL_USER=rootMYSQL_PASS=rootMYSQL_DB=pdnsMYSQL_DNSSEC=no_FILE.MYSQL_AUTOCONF=falseMYSQL_DNSSEC=yes/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
32.4 MB
Last updated
almost 5 years ago
docker pull mxfox/powerdns