DNS

Building a PowerDNS server

Jan. 21, 2022 | Category: Linux | Tags: DNS

Using

  • Debian 11
  • PowerDNS 4.6

Will use postgres to store the records.

Installing postgres

apt install postgresql postgresql-client postgresql-contrib

Changing the password for the postgres database user:

su - postgres
psql -d template1 -c "ALTER USER postgres WITH PASSWORD 'PostgresPassword';"

Adjusting /etc/postgresql/13/main/pg_hba.conf:

# To allow remote connection
host    all …