Recreate DNS zones

pera

Verified User
Joined
Jul 29, 2004
Messages
87
Location
Sweden / Varberg
Hi... I have multiserver setup.
Now I moved users from old server to new one. To not get errors I first removed the dns entrys on the old server....
Now when restoring on new server there is no dns - entry for sites...
Is there some way to recreate default dns entry for all sites on server?
subdomains?

Hope I been clear in my question ;-)
 
Last edited:
You could give this a shot:

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d40
 
You could give this a shot:

Code:
echo "action=rewrite&value=named" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d40

hmm waiting ..... nix...

this did not work in my case.... im gone bee dns --- mad man.... now I deleted the site on old servers and Multidomain on.....
Starting to manually adding dns entry.... only 500 and subdomains... when they call....
 
Last edited:
Just so you know for the future: if you remove sites from the first machine while still runing multi-server option, then they'll be removed from the second also.

And when you do the backup you won't get DNS off the old server, because it's no longer there. And you won't get it on the new server, because it's no longer there.

This (untested) should work:

First: backp the sites

Second: remove the DNS, it'll be removed from both servers.

Third: turn off multi-server option

Fourth: restore on the new server, which should set up DNS on the new server.

Fifth: if you want DNS on the new server to be duplicated on the old server, turn on multi-user option on the new server to duplicate onto the old server.

Jeff
 
Back
Top