PowerDNS PostgreSQL Authoritative Server version 4.9.11 (latest version of Authoritative Server)
390
This is a Docker image with PowerDNS Authoritative Server version 4.9.11 (latest version of Authoritative Server).
In this docker image, PostgreSQL is used as the database.
Usage
To download the image run (tag "latest" is version 4.9.11 of Authoritative Server)
docker pull mutkoff/pdns-pgsql:latest
Next, you need to create a configuration file "pdns.conf" on your server and place the configuration in it. Example of the dnsdist.conf configuration file:
api = yes
api-key = nb3ZFowapVB8mM6ft1cBSt7flQsRNp3F
default-ttl = 1500
gpgsql-dbname = pdns
gpgsql-host = 192.168.1.1
gpgsql-password = Admin123
gpgsql-port = 5432
gpgsql-user = pdnsadmin
guardian = yes
launch = gpgsql
primary = yes
setgid = pdns
setuid = pdns
version-string = anonymous
webserver = yes
webserver-address = 0.0.0.0
webserver-allow-from = 0.0.0.0/0
allow-dnsupdate-from=0.0.0.0/0,127.0.0.0/8,::1
allow-axfr-ips=0.0.0.0/0,127.0.0.0/8,::1
After that, we create a docker-compose file in the same directory and adding the following configuration:
services:
pdns-pgsql:
image: mutkoff/pdns-pgsql:latest
hostname: powerdns_authserver
ports:
- '53:53'
- '53:53/udp'
- '80:8081'
networks:
pdns-network:
ipv4_address: 172.8.0.21
volumes:
- ./pdns.conf:/etc/powerdns/pdns.conf
networks:
pdns-network:
ipam:
config:
- subnet: 172.8.0.0/16
gateway: 172.8.0.1
After successful launch, the web interface is available at:
http://localhost
Content type
Image
Digest
sha256:c0873b94b…
Size
90.4 MB
Last updated
12 months ago
docker pull mutkoff/pdns-pgsql