pdns-distribute

module
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: MIT

README

pdns-distribute

Repository is located at https://github.com/nameserver-systems/pdns-distribute

The project nameserver.systems / pdns-distribute contains a set of go based microservices for syncing multiple powerdns nameservers. The original goal was to build the perfect authoritative dns server infrastructure. Most registrars and ISPs provide terrible DNS servers for their customers. Well known problems are too few servers, restricted functionality (e.g. record types) and slow updates. This project provides a solution for those problems and extended functionality with our service nameserver.systems.

These microservices provide a fast, secure and easy way for syncing PowerDNS nameservers.

Microservices:

  • pdns-zone-provider (provides secondary-syncer zonefiles as a signed zonestring)
  • pdns-api-proxy (generates zone events from api interaction with powerdns primary)
  • pdns-health-checker (watch the whole system sync state and triggers specific sync)
  • pdns-secondary-syncer (cares about the sync of a local powerdns instance)

Documentation

Documentation and Documentation Source

Architecture

  • 1x primary (internal data management)
    • clients can using the primary through the powerdns api
    • contains zone information
  • Nx secondary (public authoritative nameserver)
    • serves zone data
  • Nx nats with jetstream (message broker)
    • complete communication between microservices will use handled by broker
    • used for discovering active healthy secondaries
    • healthchecks
      • after a defined interval without a ping a secondary will be marked as inactive

Techstack

  • written in Go
  • NATS as Message Broker

Dependencies

  • go (>= 1.22)
  • podman
  • podman-compose
  • golangci-lint
  • goreleaser
  • upx
  • shellcheck

made 2019 - 2024 with ❤ by linxside

Directories

Path Synopsis
cmd
internal
pkg/mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
pkg/modelpowerdns
PowerDNS Authoritative HTTP API
PowerDNS Authoritative HTTP API
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL