This project includes PowerDNS as the local DNS records and Dnsdist as the DNS load balancer and MySQL as the database for the PowerDNS.
To use this project you need docker daemon installed.
I suggest better build and run using docker-compose. you can download binary file here then change the mode to executable. you can use this below.
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
sudo chmod +x /usr/bin/docker-compose
- MYSQL_ROOT_PASSWORD=LJsa65d9DFxcvbrfTYzxcb
- MYSQL_USER=powerdns
- MYSQL_PASSWORD=powerdns
- MYSQL_DATABASE=powerdns
These are used for MySQL login and create the database.
This file contains all config files for the Dnsdist such as pool, server, ACL, action. for more information click here
This file contains all config files for the PowerDNS and connection config file to MySQL, for more information click here
This file contains the primary PowerDNS MySQL tables.
You can simply run this command for build and run:
docker-compose up -d --build