PowerDNS: Konfigurasi

From OnnoWiki
Revision as of 09:38, 20 February 2019 by Onnowpurbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Konfigurasi PowerDNS untuk menggunakan MySQL sebagai backend untuk menyimpan file Zone dan records.

Edit

vi /etc/powerdns/pdns.d/pdns.local.gmysql.conf 

Isi dengan

# MySQL Configuration
# Launch gmysql backend
launch+=gmysql
# gmysql parameters
gmysql-host=localhost
gmysql-port=3306
gmysql-dbname=powerdns
gmysql-user=powerdns
gmysql-password=ubuntu
gmysql-dnssec=yes
# gmysql-socket=

Restart powerdns service.

sudo service pdns restart 

Konfigurasi PowerDNS agar dapat menangani IPv6. Edit /etc/powerdns/pdns.conf

vi /etc/powerdns/pdns.conf 

Pastikan:

do-ipv6-additional-processing=yes 
local-address=0.0.0.0 
local-ipv6=:: 

Agar semua mesin di Internet bisa me-recurse (HATI-HATI akan membuat mesin anda lemot), dapat di tambahkan:

allow-recursion=0.0.0.0/0,::/0 


Pranala Menarik