How to Import DNS Zone Files to ArvanCloud Panel
On the DNS hierarchical structure, each zone indicates how a domain and its related subdomains are managed. Therefore, by creating a domain, a zone will automatically be created. The DNS zone file is a plain .txt file, and it will contain all the detailed records of a zone's domains.
While changing the DNS server, the DNS record of the domain must be transferred from the previous DNS server to the new one.
One way of doing this is to manually transfer the domain's records from the previous DNS server to the new DNS server. There is also an easier, faster, and more secure solution, uploading the DNS zone file and transferring all the records to the new DNS server simultaneously.
If you are using ArvanCloud's Cloud DNS, it would be possible to upload the DNS zone file on the user panel and directly transfer all the DNS records of the domain from the previous DNS server to ArvanCloud's DNS servers.
Before doing so, it is necessary to have access to the DNS zone file of the domain. Usually, DNS service providers allow access to this file. If the DNS server you are using has a BIND format, look for it in a file labeled "named.conf."
Essential Tips About DNS Zone File
- The importing DNS zone file must be in the standard BIND format.
- The specified TTL value of a record in this file will be supported as it is defined. If there is no TTL specified for the record, it will be set to 120 seconds by default.
- If the uploaded DNS zone file carries an ORIGIN$ command, it will be ignored.
- If the uploaded DNS zone file contains INCLUDE$ and GENERATE$ commands, they will be ignored.
- The PTR, SRV, SOA, NS, MX, CNAME, CAA, AAAA, A, and TXT records will only be supported in the uploaded DNS zone file.
- If the uploaded DNS zone file includes an SOA record, it will be ignored. ArvanCloud will set up a new SOA record.
- If the uploaded DNS zone file has an NS record, it will be ignored. ArvanCloud's NS records will replace it.
How to Import a DNS Zone File to ArvanCloud's User Panel
First, sign in to the ArvanCloud's user panel and add the domain. To import the DNS zone file to the panel, follow this instruction:
- Go to: ArvanCloud User Panel > Content Delivery Network (CDN)
- Click on: DNS > DNS Import
- In the pop-up window, select the domain's DNS zone file saved on the computer earlier.
- Select the file and click on Open.
Accordingly, the domain's DNS zone file will be imported, and the records will be added to the ArvanCloud's user panel.