1) SSH to server as root.
2) cd /etc
3) cp named.conf named.conf.BAK
4) wget -O /etc/named.conf https://www.directadmin.com/named.conf
5) then run:
for i in `cat /etc/virtual/domains`; do { echo “zone \”$i\” { type master; file \”/var/named/$i.db\”; };”; }; done; >> /etc/named.conf