deployment:network:powerdns:install-postgres

This is an old revision of the document!


PowerDNS : Installasi dengan posgresSQL Backend (Debian 12/13)

Update repository:

apt update

Install PowerDNS Authoritative + PostgreSQL:

apt install pdns-server pdns-backend-pgsql postgresql

Pastikan service PostgreSQL berjalan:

systemctl status postgresql

Masuk sebagai user postgres:

sudo -u postgres psql

Buat database dan user:

CREATE DATABASE powerdns;
CREATE USER pdns WITH PASSWORD 'passwordku';
ALTER DATABASE powerdns OWNER TO pdns;
GRANT ALL PRIVILEGES ON DATABASE powerdns TO pdns;
\q
  • deployment/network/powerdns/install-postgres.1772093333.txt.gz
  • Last modified: 2026/02/26 15:08
  • by ilyasa