Skip to main content

Import Wizard

The Import Wizard brings over what you run today, including zones, records, DHCP scopes, options and reservations, without building spreadsheets. Open it from Overview → Import in the left navigation, or go to /import.

You always see a preview before anything is written. Nothing is deployed to a server unless you pick one.

Sources​

SourceWhat you provideWhat's imported
Windows DNS / DHCPA Subnetly agent installed on the Windows serverZones, records, scopes, options, reservations and leases. Uses the Windows Migration Wizard.
A live DNS serverA Linux agent that can reach the server, plus the server's address and the zones to copyEvery record in each zone, copied with a zone transfer (AXFR). Works with BIND, Windows, Infoblox, PowerDNS and any other server that allows transfers.
BIND zone filesOne or more zone files, uploaded or pastedEvery record. The zone's name comes from its SOA record, else $ORIGIN, else the file name (db.example.com, example.com.zone).
ISC dhcpddhcpd.confSubnets, ranges, options (global and per subnet), lease time, and host reservations (each placed in the subnet that holds its fixed-address). A subnet with several range statements becomes one range with the gaps as exclusions.
Kea DHCPkea-dhcp4.conf, or the output of config-getsubnet4 entries, including those inside shared-networks, with pools, option data, lifetimes and reservations. A subnet with several pools becomes one range with the gaps as exclusions.

Copying from a live server​

The server must allow zone transfers to the agent's address:

  • BIND: add the agent's IP to allow-transfer for the zone.
  • Windows DNS: open the zone's Properties → Zone Transfers tab and allow transfers to the agent's IP.

Copying from a server that requires a TSIG key isn't supported yet. Allow transfers by IP for the duration of the import.

Review​

For each zone and scope, the preview shows whether it's new or already in Subnetly. Choose one action:

  • Import / Add new: create it, or add only the records and reservations that aren't there yet.
  • Replace: replace the existing records, or the scope's settings, with the imported ones.
  • Skip: leave it out.

Serve from is optional. It deploys the zone, as primary, or the scope to an agent straight away. Leave it at Not yet to deploy later from the zone or scope.

Imported zones (BIND zone files, Windows DNS, zone transfers, CSV) are always the default version of their name: an import never creates or changes a version that belongs to a view. To serve different answers to internal clients, add an internal version after the import. See Split-horizon DNS.

SOA records aren't imported, because Subnetly manages serials itself. Record types that Subnetly doesn't manage, such as DNSSEC records, are skipped and counted in the preview.

Before you switch over​

  1. A day ahead, lower the TTLs on the old server so clients pick up the change quickly.
  2. Deploy the zones and scopes to your Subnetly servers, then check a few names and leases.
  3. Point DHCP relays (ip helper-address) and clients' DNS at the Subnetly servers.
  4. Turn off DHCP on the old server, so that two servers never hand out the same addresses.