Get the link of the latest PowerDNS release here:
https://www.powerdns.com/downloads.html
For CentOS use the RPM packages. In this ‘How to’ we are using CentOS.
Installing
Do:
Code: Select all
cd /tmp
wget <link to download>
rpm -ivh <package name>
Code: Select all
rpm -Uvh <package name>
Code: Select all
cd /tmp
wget http://downloads.powerdns.com/releases/rpm/pdns-static-3.3-1.x86_64.rpm
rpm -ivh pdns-static-3.3-1.x86_64.rpm
Code: Select all
chkconfig --levels 235 pdns on
You can now start configuring PowerDNS
Code: Select all
vi /etc/pdns/pdns.conf
Code: Select all
launch=gmysql
gmysql-host=<127.0.0.1>
gmysql-user=<database_user>
gmysql-password=<database_user_password>
gmysql-dbname=<database_name>
If your database is ready you can start PowerDNS:
Code: Select all
/etc/init.d/pdns start