Skip to content

Installation

Requirements

  • Actual linux based os with systemd support (eg. Debian Trixie)

NATS instances can be run on primaries or secondaries. The only limit is, that only one instance of each should be run on a system.

  • NATS cluster (message broker)

Primary

  • PowerDNS >= 4.3 (with a database backend)

Secondaries

  • PowerDNS >= 4.3 (with a database backend)
  • dnsdist >= 1.5 (recommended)

Install from apt repo

  1. Setup repo
    1
    2
    3
    sudo curl https://codeberg.org/api/packages/nameserver-systems/debian/repository.key -o /etc/apt/keyrings/forgejo-nameserver-systems.asc
    echo "deb [signed-by=/etc/apt/keyrings/forgejo-nameserver-systems.asc] https://codeberg.org/api/packages/nameserver-systems/debian $distribution $component" | sudo tee -a /etc/apt/sources.list.d/forgejo.list
    sudo apt update
    
  2. Install primary package on every primary node
    1
    sudo apt install pdns-distribute-primary
    
  3. Install secondary package on every secondary node
    1
    sudo apt install pdns-distribute-secondary