---
title: "Import or export your DNS zone"
url: "https://inleed.com/helpcenter/import-export-dns-zone"
language: "en"
updated: "2026-11-20"
category: "Domains and DNS"
type: "guide"
---

# Import or export your DNS zone

Bring your DNS records from your previous provider instead of typing them in, or download every record as a zone file.

## Right guide?

- Doesn’t the domain have a DNS zone at Inleed yet?  
  [Create a DNS zone for your domain](https://inleed.com/helpcenter/create-dns-zone)

## Faster: let an AI app do it

If you’ve connected Inleed to an AI app, just write what you want done, for example:

> Export the DNS zone for example.se as a zone file

Done. Here is the zone file for example.se with every record.

[How to connect an AI app](https://inleed.com/helpcenter/connect-ai-app)

## Before you start

- An import replaces the whole zone. Export first if you want to be able to go back.
- Does the DNS tab say **Create zone**? Create the zone first, and the import replaces it afterwards.  
  [Create a DNS zone for your domain](https://inleed.com/helpcenter/create-dns-zone)

## How to import or export

1. Log in to the [client area](https://login.inleed.net) and click **Manage** next to the domain.

   The domain’s page opens.

2. Open the **DNS** tab.

   The **Import and export** card is below the records.

### A. From your previous provider

We read the domain’s records where they are today. Do it before you change nameservers.

**Important:** The whole zone is replaced. Records that aren’t found disappear.

3. Click **Import** next to **From your previous provider**.

4. Confirm with **Yes, I'm sure**.

   It can take up to 2 minutes. Don’t close the page.

### B. From a zone file

You have a zone file (BIND) from your previous provider.

**Important:** The whole zone is replaced with the records in the file.

3. Click **Choose file** next to **Zone file (BIND)** and choose the file.

   A text file (.txt) of at most 1 MB.

4. Click **Import** next to it and confirm with **Yes, I'm sure**.

   It can take up to 2 minutes.

### C. Export the zone

Every record as a file, for example as a backup.

3. Click **Export** next to **Download**.

   The file `yourdomain.com.zone.txt` is downloaded.

## How to know it worked

A message confirms the import, and the records are in the **DNS records** list.

**Waiting time:** The records apply to visitors once the domain uses Inleed’s nameservers.

## If something doesn’t work

### It says import is off

**Why:** The domain uses Global DNS, and an import replaces the whole zone.

**What to do:** Add the records one at a time or with a template. Export works as usual.

[Add DNS records from a template](https://inleed.com/helpcenter/dns-records-from-template)

### It says to create the domain via DirectAdmin first

**Why:** The domain doesn’t have a DNS zone with us yet.

**What to do:** Create the zone, then import. If the domain should be on your hosting, add it in DirectAdmin instead.

[Create a DNS zone for your domain](https://inleed.com/helpcenter/create-dns-zone)

### Records are missing after the import

**Why:** We only read common names, like `www` and `mail`. With Inleed’s nameservers already in place, there’s nothing left to read.

**What to do:** Add what is missing by hand, or import a zone file from the previous provider.

[Add a DNS record](https://inleed.com/helpcenter/add-dns-record)

### It says the file doesn’t seem to be a valid text file

**What to do:** Export the zone as text (BIND) at the previous provider and save it as `.txt`.

## Good to know

- Export also works on Global DNS, and most providers can import the file.
- The import doesn’t change the domain’s nameservers at the registry. You do that yourself.  
  [Change the nameservers](https://inleed.com/helpcenter/change-nameservers)

## Related guides

- [Create a DNS zone for your domain](https://inleed.com/helpcenter/create-dns-zone)
- [Change the nameservers for your domain](https://inleed.com/helpcenter/change-nameservers)
- [Add a DNS record](https://inleed.com/helpcenter/add-dns-record)
- [Delete your domain’s DNS zone](https://inleed.com/helpcenter/delete-dns-zone)
