====== PowerDNS ======
http://www.thatfleminggent.com/2009/08/09/getting-a-powerdns-recursor-up-and-going-fast
http://www.tecmint.com/install-powerdns-poweradmin-mariadb-in-centos-rhel/
https://www.howtoforge.com/installing-powerdns-with-mysql-backend-and-poweradmin-on-debian-squeeze
* **Recursor** is caching DNS resolver
* **Authoritative Server** for authoritative DNS hosting
PowerDNS is a popular free DNS server that usually uses MySQL as the back-end and PowerAdmin as a web front-end.
:!: There is a package for the PowerAdmin web front-end, but don't use it.
===== Firewall Rules =====
Add filewall rules for:
|Ingress |HTTP |TCP |80 |
|Ingress |SSH |TCP |22 |
|Ingress & Egress |DNS |TCP & UDP |53 |
On CentOS, insert or modify:
vi /etc/sysconfig/iptables
-A INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT
-A INPUT -m state --state NEW -p udp --dport 53 -j ACCEPT
-A INPUT -m state --state NEW -p tcp --dport 53 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
service iptables restart
===== Recursion =====
vi /etc/pdns/pdns.conf
allow-recursion=10.0.0.0/24
recursor=8.8.8.8
===== PowerAdmin =====
PowerAdmin is the web interface for PowerDNS.
vi /var/www/html/inc/config.inc.php