LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 01:22 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,950

Rep: Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620Reputation: 1620
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, 02: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 03:15 AM
Querying a DNS server for ALL records the_gripmaster Linux - General 10 02-20-2009 11:07 AM
How do i migrate SAMBA server to diffrent server. Koushik Biswas Linux - Server 1 11-13-2008 09:51 AM
Adding 'static' records to a Cacheing only DNS server? Paul_Randle Linux - Networking 3 08-19-2005 08:18 AM
Traceroute, Ping, Domain Name Server (DNS) Lookup, WHOIS, and DNS Records Lookup netoknet General 1 05-09-2005 04:43 AM

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

All times are GMT -5. The time now is 11:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration