Standalone PowerDns & Poweradmin sqlite Installation notes;
Repository Configuration for Amazon Linux;
$ sudo curl -o
/etc/yum.repos.d/powerdns-auth-40.repo https://repo.powerdns.com/repo-files/centos-auth-40.repo
$ sudo curl -o
/etc/yum.repos.d/powerdns-rec-40.repo https://repo.powerdns.com/repo-files/centos-rec-40.repo
$ sudo vi
/etc/yum.repos.d/powerdns-auth-40.repo
#baseurl=http://repo.powerdns.com/centos/$basearch/$releasever/auth-40
Replace above
to bottom url
baseurl=https://repo.powerdns.com/centos/x86_64/6Server/auth-40/
$ sudo vi
/etc/yum.repos.d/powerdns-rec-40.repo
#baseurl=http://repo.powerdns.com/centos/$basearch/$releasever/rec-40
Replace above
to bottom url
baseurl=https://repo.powerdns.com/centos/x86_64/6Server/rec-40/
$sudo yum update
PowerDns Installation for Amazon Linux;
$sudo yum install
pdns pdns-recursor pdns-tools pdns-backend-sqlite
$sudo mv
/etc/pdns/pdns.conf /etc/pdns/pdns.conf.orig
$sudo mv
/etc/pdns-recursor/recursor.conf /etc/pdns-recursor/recursor.conf.orig
$sudo vi
/etc/pdns/pdns.conf
launch=gsqlite3
gsqlite3-database=/etc/pdns/pdns.sqlite3
allow-axfr-ips=0.0.0.0/0
disable-axfr=no
allow-recursion=0.0.0.0/0
recursor=127.0.0.1:5353
local-address=0.0.0.0
local-port=53
$sudo vi
/etc/pdns-recursor/recursor.conf
local-address=127.0.0.1
local-port=5353
allow-from=0.0.0.0/0
$sudo sqlite3
/etc/pdns/pdns.sqlite3 < /usr/share/doc/pdns/schema.sqlite3.sql
$sudo chmod 0777
/etc/pdns/
$sudo chmod 0666
/etc/pdns/pdns.sqlite3
$sudo service pdns
start
$sudo service
pdns-recursor start
PowerAdmin Installation for Amazon Linux;
$sudo yum install
httpd php php-pdo php-mcrypt
$ tar xvfz
poweradmin-2.1.7.tgz
$sudo mv
poweradmin-2.1.7 /var/www/html/poweradmin
$sudo chown -R
apache:apache /var/www/html/poweradmin/
$sudo service httpd
start
Installation will
complete via web browser
Add to startup configuration;
$sudo chkconfig pdns
on
$sudo chkconfig
pdns-recursor on
$sudo chkconfig
httpd on
$sudo chkconfig
--list