LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Migrate DNS Records from Old Server to New Server (https://www.linuxquestions.org/questions/linux-server-73/migrate-dns-records-from-old-server-to-new-server-766484/)

OThankHeaven 11-03-2009 09:11 AM

Migrate DNS Records from Old Server to New Server
 
Our hardware that is running DNS is very old (Pentium 1 Redhat release 6.2), and I want to migrate the DNS Records to a new computer (Pentium 4 Debian Lenny). There is no GUI environment on the old server: no Gnome or KDE. I may consider using VMware Workstation for this project.

1. I don't have very much DNS experience. Is this a painless process?

2. Are there commands that I can run to export the DNS records from the old server?

3. Are there commands that I can run to import the DNS records to the new server?

4. What other advice do you have that could help this process?

Thank you very much.

bathory 11-03-2009 01:22 PM

Hi and welcome to LQ,

If you don't have much experience in dns, it could be a bit painful. But you should upgrade at least for security reasons.
Looking at your OS (RH 6.2), I guess that your server is running bind 4.x. You have to verify it's running bind and not some other dns software, otherwise what follows is of no use.
There is a migration guide from version 4 to version 9, but I suggest you to do the following:
Install your preferred OS and use its bind package. Then edit by hand named.conf to add the zones your server is authoritative for (you can use the named-bootconf.sh from the link above, to have an idea how they should look like).
Then add the zone files in the appropriate directory (copy them from the old server and make sure they follow the example in the link above).
Lastly run named-checkconf to check named.conf and named-checkzone to check the zone files.

Regards

WhisperiN 11-03-2009 02:23 PM

Quote:

Originally Posted by bathory (Post 3742892)
Hi and welcome to LQ,

If you don't have much experience in dns, it could be a bit painful. But you should upgrade at least for security reasons.
Looking at your OS (RH 6.2), I guess that your server is running bind 4.x. You have to verify it's running bind and not some other dns software, otherwise what follows is of no use.
There is a migration guide from version 4 to version 9, but I suggest you to do the following:
Install your preferred OS and use its bind package. Then edit by hand named.conf to add the zones your server is authoritative for (you can use the named-bootconf.sh from the link above, to have an idea how they should look like).
Then add the zone files in the appropriate directory (copy them from the old server and make sure they follow the example in the link above).
Lastly run named-checkconf to check named.conf and named-checkzone to check the zone files.

Regards

Well done buddy :)

Got thanked ;)


All times are GMT -5. The time now is 09:16 PM.