Re-generate all dns zones

plugin

Verified User
Joined
Aug 17, 2004
Messages
59
What is the DirectAdmin task list command to make i re-generate all dns zones? I added a secondairy dns server in the template and now need to have all the new zones to become active on the nameserver :)
 
Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
 
This works yes, but it does not use the custom dns zones. I copied them to templates/custom/ (dns_a.txt, dns_ns.txt, dns_mx.txt), but they do not appear in the new zones files..
 
It just uses "/usr/local/directadmin/data/templates/named.db".
 
Back
Top