Project

General

Profile

Support #585

Migrating a BIND Master Zone Using Webmin

Added by Daniel Curtis over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Domain Name Server
Target version:
Start date:
03/25/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

This is a guide for migrating a master zone on BIND 9.8 server (ns1) to a BIND 9.9 (ns2) server using the Webmin utility.

  • From the Webmin panel on ns2 go to Servers -> BIND DNS Server
  • Click on Zone Defaults
  • In the Allow transfers from.. section enable Listed and enter the IP address of ns1
  • Click on Create a slave zone and enter in Domain name / Network enter example.com and the Master servers enter the IP address of ns1
  • Click Create
  • Click on Apply Configuration

Once all of the domains that need to be migrated have been transferred, click on Convert to Master Zone and BIND will take over being the DNS zone master.

  • NOTE: I had a problem with the Convert to Master Zone button. So to convert from a Slave Zone to a Master Zone manually, from the Webmin panel go to BIND DNS Server -> Edit Config File and scroll down and edit the zone type from slave to master:
    zone "example.com" {
        type slave;
        masters {
                    ;...
            };
        file "/etc/namedb/working/example.com.hosts";
        };
    
    • And change it to:
      zone "example.com" {
          type master;
          masters {
              };
          file "/etc/namedb/working/example.com.hosts";
          };
      
  • Then click Save
  • And click on Apply Configuration

Also available in: Atom PDF