I put all pdnsutil(1) commands for adding a zone, in a (crude) shell script:
env ROLE=master DDNS=false zoneadd example.com

#dithematic 🔗 https://github.com/vedetta-com/dithematic/blob/master/src/usr/local/bin/zoneadd

vedetta-com/dithematic

OpenBSD DNS name server. Contribute to vedetta-com/dithematic development by creating an account on GitHub.