This project is based on the work of Peter Schiffer.
It allows deploying a clustered (Master and Slave) instance of PowerDNS for testing purposes
Requirements:
- A functional kubernetes cluster, with Traefik ingress controller
- kustomize, v5.0.1+
The cluster consists in 2 full instances of:
- mariadb: as storage backend for PowerDNS
- powerdns: as itself
- powerdns-admin: for GUI
One as Master (NS: powerdns), one as Slave (NS: powerdns-slave)
The secret API key is configurable through PDNS_api_key: secret
in master/pdns/secret.yaml
kustomize build master | kubectl apply -f -
The secret API key is configurable through PDNS_api_key: secret
in slave/pdns/secret.yaml
kustomize build slave | kubectl apply -f -
The script catalog.sh
configure PowerDNS as Master/slave and creates a catalog in PowerDNS (Name: catalog.test
)
Prerequisite: modify the variable MASTER_DIRECTORY to match your configuration and to point to the master
directory