Skip to content

powerdns-operator/powerdns-deployment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerDNS deployment

This project is based on the work of Peter Schiffer.
It allows deploying a clustered (Master and Slave) instance of PowerDNS for testing purposes

Prerequisite

Requirements:

  • A functional kubernetes cluster, with Traefik ingress controller
  • kustomize, v5.0.1+

Architecture

architecture

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)

Deployment

Master deployment

The secret API key is configurable through PDNS_api_key: secret in master/pdns/secret.yaml

kustomize build master | kubectl apply -f -

Slave deployment

The secret API key is configurable through PDNS_api_key: secret in slave/pdns/secret.yaml

kustomize build slave | kubectl apply -f -

Configuration

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

About

A project to deploy a homelab clustered instance of PowerDNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages