LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-03-2009, 08:11 AM   #1
OThankHeaven
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
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.
 
Old 11-03-2009, 12:22 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
Old 11-03-2009, 01:23 PM   #3
WhisperiN
Member
 
Registered: Jun 2009
Location: Middle East
Distribution: Slackware 13.1, CentOS 5.5
Posts: 137

Rep: Reputation: 17
Quote:
Originally Posted by bathory View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bind DNS Server - answer a few records for another domain? humbletech99 Linux - Server 15 06-21-2010 02:15 AM
Querying a DNS server for ALL records the_gripmaster Linux - General 10 02-20-2009 10:07 AM
How do i migrate SAMBA server to diffrent server. Koushik Biswas Linux - Server 1 11-13-2008 08:51 AM
Adding 'static' records to a Cacheing only DNS server? Paul_Randle Linux - Networking 3 08-19-2005 07:18 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration