# How do I import or export a zone file?

> Copy all your DNS records to Phluit at once by importing a BIND zone file, choose to add or replace, and download your records as a zone file for backup.

Source: https://docs.phluit.com/products/domains-dns/dns-zone-file/

A zone file is a text file with all of a domain's DNS records. Most DNS providers can export one.

## Import a zone file

1.  Export the zone file from your current DNS provider (BIND format).
2.  In the portal, open **Domains & DNS** ([portal.phluit.com/dns](https://portal.phluit.com/dns)) and click **Manage DNS** next to your domain.
3.  Open **Import a zone file** and paste the file's contents.
4.  Choose **Add to the current records** or **Replace all current records**.
5.  Click **Import**.

Every line is checked like a record you add by hand. Only records of your domain are imported. SOA and NS records belong to Phluit's nameservers and are skipped. If lines were skipped, the page lists them with the reason.

You can undo an import under **History**.

## Export your records

On your domain's page, click **Zone file**. Your browser downloads all the domain's records in zone file format. Keep it as a backup, or to move the domain to another DNS provider.

## Good to know

-   When you first add a domain, we already copy the records we can find. A zone file is the way to bring over records under other names. See [How do I use Phluit DNS for my domain?](/products/domains-dns/use-phluit-dns/)
