---
title: "Importing DNS Records | Hostman Docs"
description: "Learn how to import DNS records using a .zone file, supported record types, and how to quickly migrate or bulk update domain settings."
---

> For the complete documentation index for AI agents, see [llms.txt](https://hostman.com/llms.txt).

If you have a zone file in the `.zone` format, you can quickly import all DNS records for a domain. This is convenient when migrating from another hosting provider or making bulk changes.

A `.zone` file is a regular text file that describes DNS records for a domain.

The `.zone` format allows you to define all required records in one place and upload them at once instead of entering them manually one by one.

## Supported Record Types

The following record types are supported:

-   A
-   AAAA
-   CNAME
-   MX
-   TXT
-   SRV

If the file contains other record types, they will be ignored. Such records will not appear in the list during import and will not cause an error.

From the directives used in `.zone` files, only the following are supported:

-   $ORIGIN: defines the base domain
-   $TTL: defines the default TTL

Other directives will be ignored during import.

## Import Records

To import DNS records:

1.  Go to the **Domains and SSL** section.
2.  Hover over the domain and click on the cog icon.
3.  Click **Import records**.

![46f09a07 532a 4ce0 B0c7 2c5341e32f9a](https://content.hostman.com/assets/516b089b-09da-4509-9a4d-2072b0226fa7.png?width=1572&height=836)

4.  Select a file with the `.zone` extension from your computer. 
5.  Check a preview list of all records that will be created. Records that contain errors will be highlighted.
6.  (Optional) Remove records you don’t need by clicking the **×** icon next to them.
7.  Click **Add X records** to save the changes.

![7eeb7be2 C527 4b57 8937 11dce8887f3b](https://content.hostman.com/assets/095882df-c903-44f3-8513-b678d1d972e4.png?width=1749&height=869)
