psi-4ward / docker-powerdns

PowerDNS Docker Image based on Alpine
106 stars 110 forks source link

PowerDNS Docker Container

Many thanks for all contributions, feedback and stars to this project but it is time to deprecate it in favor of the official images.


Image Size Docker Stars Docker Pulls Docker Automated buil

Supported tags

Note: Some older tags don't have the v at the beginning (e.g. for Version 4.1.7 the tag is 4.1.7)

Usage

# 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

Configuration

Environment Configuration:

PowerDNS Configuration:

Append the PowerDNS setting to the command as shown in the example above. See docker run --rm psitrax/powerdns --help

License

GNU General Public License v2.0 applyies to PowerDNS and all files in this repository.

Maintainer

Credits