PowerDNS cheat sheet

Create a new zone

pdnsutil create-zone bontekoe.technology

Add a DNS record

pdnsutil add-record bontekoe.technology @ NS ns1.bontekoe.technology
pdnsutil add-record bontekoe.technology @ NS ns2.bontekoe.technology

Add a first record

pdnsutil add-record bontekoe.technology test A 192.168.1.2

Check for errors

pdnsutil check-all-zones

Sync zone to slave servers

pdnsutil increase-serial bontekoe.technology && pdns_control notify bontekoe.technology

Edit zone manually (for changing TTLs and such)

pdnsutil edit-zone bontekoe.technology