Sign In
Sign In

Import DNS Records

Updated on 30 September 2025

If you have a zone file in .zone format, you can quickly import all DNS records for a domain. This is useful when migrating from another hosting provider or performing bulk edits.

A .zone file is a plain text file that describes the DNS records for a domain.

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

The following record types are supported:

  • A
  • AAAA
  • CNAME
  • MX
  • TXT
  • SRV

If the file contains other record types, they will be ignored. 

Among directives, only the following are supported in a .zone file:

  • $ORIGIN — sets the base domain;
  • $TTL — sets the default TTL.

Other directives will be ignored during import.

To upload a .zone file:

  1. Go to the Domains and SSL section and click on the domain.

Domains

  1. In the DNS tab, click Import records.

Import records

  1. Select the .zone file on your computer.

  2. You’ll see a preview list of all records that will be created.

    • Records containing errors will be highlighted.

    • You can remove unwanted records by clicking the × next to them.

Records list

  1. When everything is ready, click Add X records to save the changes.

Was this page helpful?
Updated on 30 September 2025

Do you have questions,
comments, or concerns?

Our professionals are available to assist you at any moment,
whether you need help or are just unsure of where to start.
Email us
Hostman's Support