Last active
April 22, 2019 14:49
-
-
Save maietta/66da4191bec0cb63ff391137048fc383 to your computer and use it in GitHub Desktop.
PowerDNS on Ubuntu 18.04+
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo systemctl disable systemd-resolved | |
sudo systemctl stop systemd-resolved | |
sudo ls -lh /etc/resolv.conf | |
sudo rm /etc/resolv.conf | |
sudo echo "nameserver 1.1.1.1" > /etc/resolv.conf | |
sudo apt-get update | |
sudo apt-get install pdns-server pdns-backend-mysql | |
nano /etc/powerdns/pdns.d/pdns.local.gmysql.conf | |
launch+=gmysql | |
gmysql-host=xxx.xxx.xxx.xxx | |
gmysql-user=webservers_dns | |
gmysql-dbname=webservers_dns | |
gmysql-password=secret | |
gmysql-dnssec=yes | |
sudo systemctl restart pdns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment