rewrite dns file with DA task queue

tribal-dolphin

Verified User
Joined
Mar 12, 2004
Messages
48
Location
Rives, France
Hi,

I have modified DNS template and i want to rewrite existing domain DNS with this new template.

I've tried the command :
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
but it don't work.

How can i do ?
thanks
 
Hello,

That one isn't implemented. Only httpd exists right now. If you bump this thread after I finish this release, I'll add it for the next one.

For now you'll either have to go through each zone and click "delete" without selecting anything to rewrite the zone or you can use perl to do any changes you need.

perl -pi -e 's/oldtext/newtext/' /var/named/*.db

John
 
Back
Top