Import DNS records from myVesta to CloudFlare

Post Reply
User avatar
myVesta
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

First, we need to get a DNS zone file that is located in the following path:
/home/someusername/conf/dns/example-site.com.db

Maybe the simplest way to get it is to type in your SSH, as “root”, the following:

Code: Select all

cat /home/someusername/conf/dns/example-site.com.db
1.png
1.png (91.31 KiB)

You can simply copy-paste this output and save it as a file on your computer.

2.png
2.png (25.56 KiB)

Anyhow, you can also get this file via SFTP as a “root” account.



Now let’s go to CloudFlare.

We will assume you have already added the domain to CloudFlare.

Go to that domain on CloudFlare.

First, click on “DNS” in the left menu.

Then delete all records you found in the DNS table this way:

3.png
3.png (211.08 KiB)

Now, when the DNS table is empty, let’s import our previous saved DNS zone file:

4.png
4.png (131.3 KiB)

Select the file from your computer:

5.png
5.png (22.17 KiB)

Confirm upload:

6.png
6.png (36.65 KiB)

In the end, just delete old NS records:

7.png
7.png (159.36 KiB)

Click “Edit” and then “Delete” :

8.png
8.png (65.58 KiB)

This is the final look of the DNS records:

9.png
9.png (150 KiB)

In case you enabled "CloudFlare CDN Proxy" ("cloud" icons in DNS table), you also need to go to the "SSL" section and switch it to "Full" this way:

Screenshot_104.png
Screenshot_104.png (117.25 KiB)

That’s it, you successfully imported myVesta DNS records to CloudFlare.

Tags:
Post Reply