Introduction:
Exporting your DNS zone file is a critical step for taking full control of your domain’s settings. By exporting the file, you can easily update and migrate your DNS records to a more robust management platform like Cloudflare. This not only enhances your website’s performance and security but also streamlines future DNS updates and troubleshooting. Follow the steps below to export your DNS zone file and configure Cloudflare to optimize your domain management.
Step 1: Obtain Your DNS Zone File
- Log in to your account on your domain registrar’s website or access the management console.
- Navigate to the DNS management section or a similar area where you can manage your domain settings.
- Look for an option labeled Zone File, DNS Zone, or Zone Management.
- Click the appropriate option to access the zone file settings.
- Locate and click the Download, Export, or Zone File Export button/link.
- If prompted, confirm the download or choose a file format (e.g., BIND or CSV), then proceed.
- Save the DNS zone file to your computer as a text file.
GoDaddy Example: In your GoDaddy account, navigate to Domain > Manage DNS,
Click the meatballs menu, and select Export Zone File to download the file as a .txt.
Step 2: Create a Cloudflare Account and Complete Initial Setup
- Visit the Cloudflare sign-up page.
- Enter your email and password, then click Create Account.
- Log in at https://cloudflare.com.
- Click the Add Site button.
- Enter your domain name. Click Add Site to continue.
- Choose the Free option and click Continue.
- To upload your DNS zone file, click Advanced, select your file by clicking Open, and then click Select a File.
- Once uploaded, review the DNS records. Toggle off all records with active Proxy Status as needed.
- Click Continue and copy Cloudflare’s nameservers when prompted.
- Cloudflare will send a verification email to confirm your address.
Step 3: Update Your Nameservers and IP Addresses in Your DNS Provider’s Admin
- Log in to your DNS provider’s website or management console.
- Locate your domain under Domain Management or DNS Settings.
- Find the Nameservers section and replace the existing nameservers with the new ones provided by Cloudflare.
- Carefully enter the new fully qualified domain names (FQDNs) of the nameservers and click Update or Apply.
- Next, navigate to the DNS Records or IP addresses section.
- Identify and update any DNS records referencing old IP addresses with the new ones provided by your hosting provider.
- Save all changes. Note that propagation can take from a few minutes up to several hours.
GoDaddy Example: Under Domain > Manage DNS, scroll to Nameservers and click Change.
Select Enter my own nameservers (advanced),
Enter the Cloudflare nameservers, click Save.
Click Continue in the pop-up.
Step 4: Check Your Nameservers on Cloudflare and Remove Old Nameservers
- Log in to Cloudflare and click on your site under Home.
- Scroll to “#2 Replace with Cloudflare’s nameservers” and click Check Nameservers
- Once verified, delete the old nameservers from your DNS records by:
a. Clicking the Edit button under Actions for each old nameserver.
b. Clicking the Delete button. - Ensure all other DNS records remain unchanged.
Troubleshooting and FAQs:
Q: What should I do if I cannot find the option to download or export my DNS zone file?
A: Verify that you are in the correct DNS management section. If issues persist, consult your registrar’s documentation or contact their support team.
Q: What if the Cloudflare nameservers are not updating correctly on my DNS provider’s website?
A: Double-check that you have entered the correct nameserver details provided by Cloudflare. If necessary, reach out to your DNS provider’s support for further assistance.
Your DNS zone file is now obtained, and your Cloudflare account is configured correctly. This setup streamlines your DNS management, enhances security, and optimizes website performance.
We’re always happy to help with questions you might have! Search our documentation, contact support, or connect with our sales team.