dns migration question.

mangelot

Verified User
Joined
Jan 11, 2007
Messages
67
Location
Enschede, Netherlands
Hello,

We have a question about dns migration.
currently we have our dns server managed by a third party dns provider.
we would like to move to domain records back to our own directadmin servers.
the dns provider supports axfr protocol to receive the domains.
but how can we migrate the records back to our own servers.

is there a simple script for this?

regards Marco
 
Need more information. Do you have DNS set up on your DirectAdmin servers? Do you have the zone files already on your servers? If so, do they match the live zones on your third-party provider's servers?

Jeff
 
Hello Jeff,

Yes all the zones are on the DA servers, and dns is running also on DA servers.
the DA servers are setup to allow tranfer to our new Powerdns servers. the zones are also on these powerdns servers.

it is only that the records on the third party server are more up2date.
and need to be transfered by AXFR to the corresponding DA server, the powerdns servers will pick then up automatic after this.

regards Marco
 
Do an axfr transfer for the domains you want to pick up, to get them back on your server. This format will NOT be the standard DirectAdmin format, so do NOT just copy them over your zone files on DirectAdmin.

Instead copy them to a scratch directory, and then use the information to create (either manually or through the DirectAdmin interface) the zone files in the proper DirectAdmin format.

Then give them a current serial number in the same format DirectAdmin uses, making sure it's incremented by some number above that in the current file in the zone files maintained by DirectAdmin (or else PowerDNS won't pick up the changes).

Then copy them over the zone files maintaned by DirectAdmin and reload the nameserver on your DirectAdmin server.

Jeff
 
Back
Top