PowerDNS pdnsutil cheat sheet

PowerDNS logo

CREATE ZONE

pdnsutil create-zone example.com

ADD DATA TO ZONE

pdnsutil add-record example.com subdomain A 192.168.1.2

pdnsutil add-record example.com @ NS ns2.example.com

pdnsutil add-record example.com @ MX "10 example.com"

pdnsutil add-record example.com 3600 TXT "google-site-verification=example-id"

MANAGE ZONES

pdnsutil check-all-zones

pdnsutil list-zone example.com

pdnsutil show-zone example.com

pdnsutil edit-zone example.com

UPDATE SERIAL

pdnsutil increase-serial example.com

UPDATE THE CONNECTED DNS SERVERS

pdns_control notify example.com

START THE POWERDNS SERVER IN UBUNTU

service pdns start