DNS
Building a PowerDNS server
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 …