# Cheatsheet

# Create new Zone

  1. Create the zone with pdnsutil (pdnsutil create-zone <zone name>)
  2. Login to the db off the master node and run this command to set the zone type to master
UPDATE powerdns.domains set type = 'MASTER' where name = '<zone name>';

# Enable DNSSEC on a zone

pdnsutil secure-zone <zone name>
pdnsutil rectify-zone <zone name>
pdnsutil increase-serial <zone name>
pdnsutil show-zone <zone name>

Your key and the other informations could be found in the output of the last command in the line which starts with csk dnskey = <zone name>. IN DNSKEY ...