DNS Migration

From MicroFocusInternationalWiki
Revision as of 16:11, 7 May 2007 by Preycor (Talk | contribs) (Start the service)

Jump to: navigation, search

Migrating a DNS Service from NetWare to Linux

Being reasonably new to Linux myself I decided to simplify the DNS migration steps supplied by Novell for those administrators embarking on the migration of services from NetWare to Linux. This process was tested migrating the DNS from a Netware 6.5 server to a SLES 9 SP3 server. The process should work in exactly the same way if you're migrating to SLES 10 or OES 1 (Linux).

Install the DNS server

  1. Start YaST with the command yast.
  2. Select Software -> Install and Remove Software. Press enter.
  3. Begin a search in YaST by pressing alt+s.
  4. Search for the package named bind.
  5. Select the bind package using the space bar, ensuring that it shows a + next to the package.
  6. Accept the installation of the package by pressing alt+a.
  7. YaST will prompt you for your installation CD, and initiate the copy and install process.

Setup the zones on the destination server

  1. If YaST isn't already open, start it with the command yast.
  2. Select Network Services -> DNS Server. Press enter.
  3. Move the cursor six down to DNS zones.
  4. Tab to zone name field.
  5. Type in the name of the zone you need to create, select the type, then press alt+a to add the zone.
  6. The above step needs to be repeated for all the zones which you will be migrating to this server.
  7. When you have completed adding the zones, press alt+f to finish the setup.

Migrate the zone data

  1. Each DNS server has a copy of the zone files in SYS:\ETC\DNS. The zone files have the file extension ".db". Be aware of whether your NetWare server is setup as a 'master'/'primary' or 'slave'/'secondary'.
  2. Copy the zone files for the master zones you wish to migrate from your source NetWare server to /var/lib/named/master on your destination server.
  3. Copy the zone files for the slave zones from your source NetWare server to /var/lib/named/slave on your destination server.
  4. Remove the .db extension from each file. Assuming the zone is example.com, you can use the command mv example.com.db example.com.

Start the service

  1. Start the DNS Server through the command rcnamed start.
  2. Check that the service has started with the command chkconfig named. The command should display named on.