pythoninthegrass / powerdns_docker

Scaffold PowerDNS via Docker Compose

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

powerdns_docker

Takes inspiration from the Running PowerDNS in the local environment with PowerDNS-Admin guide by @uhernfr.

Updates compose syntax, adds error handling, moves creds to env vars, swaps out interlegis/powerdns for pschiffe/pdns-mysql -- former is deprecated.

Setup

Quickstart

  • Commands
    # create .env file and fill out
    cp .env.example .env
    
    # start containers
    docker compose up -d
    
    # stop containers
    docker compose stop
    
    # remove containers, volumes, and networks
    docker compose down -v
  • Open PowerDNS Admin at localhost:9393
    • Or the remote hosts's IP address
  • Create a new user
  • Fill out the PDNS Settings
    • PDNS API URL (default: http://172.28.1.11)
    • PDNS API KEY (see: PDNS_api_key)
    • PDNS VERSION (default: 4.1.1)

TODO

  • Test actual usage
  • Issue template
  • CI/CD

Further Reading

pschiffe/pdns-mysql - Docker Image | Docker Hub

bitnami/mariadb - Docker Image | Docker Hub

ngoduykhanh/powerdns-admin - Docker Image | Docker Hub

Generic MySQL backend — PowerDNS Authoritative Server documentation

Authoritative Server Settings — PowerDNS Authoritative Server documentation

About

Scaffold PowerDNS via Docker Compose

License:The Unlicense