Error Importing DNS records

I’m trying to import DNS records into my free Cloudflare account (MoreSpeech.com domain)

I get the error: The number of records in the zone file exceeds the zones record quota (Code: 1037)
The file only has 102 lines, and only about 70 entries. And I have under 10 DNS entries.

I’ve tried *importing the following:

  1. The file I exported from CloudFlare
  2. File I exported from Godaddy (Export Zone exported in Windows format)

I’ll post a copy of the file below.

1 Like

Dns zones from Godaddy:

; Domain: morespeech.com
; Exported (y-m-d hh:mm:ss): 2019-09-21 18:33:07
;
; This file is intended for use for informational and archival
; purposes ONLY and MUST be edited before use on a production
; DNS server.
;
; In particular, you must update the SOA record with the correct
; authoritative name server and contact e-mail address information,
; and add the correct NS records for the name servers which will
; be authoritative for this domain.
;
; For further information, please consult the BIND documentation
; located on the following website:
;
; http://www.isc.org/
;
; And RFC 1035:
;
; http://www.ietf.org/rfc/rfc1035.txt
;
; Please note that we do NOT offer technical support for any use
; of this zone data, the BIND name server, or any other third-
; party DNS software.
;
; Use at your own risk.

; SOA Record
morespeech.com. 3600 IN SOA ns45.domaincontrol.com. dns.jomax.net. (
2018111601
28800
7200
604800
3600
)

; A Records
@ 10800 IN A 107.180.26.80
admin 10800 IN A 107.180.26.80
admin.new 600 IN A 107.180.26.80
aso 1800 IN A 143.95.99.130
free 600 IN A 184.168.131.241
get 600 IN A 184.168.131.241
godaddy 3600 IN A 50.62.238.1
mail 10800 IN A 107.180.26.80
mail.new 600 IN A 107.180.26.80
new 600 IN A 107.180.26.80
ns1 3600 IN A 45.55.49.35
ns2 3600 IN A 45.55.49.35
prize 600 IN A 184.168.131.241
sdsu 600 IN A 184.168.131.241
vps 3600 IN A 174.136.15.177
web 3600 IN A 143.95.99.130
webapp 1800 IN A 45.55.49.35
websrv1 3600 IN A 45.55.49.35
win 600 IN A 50.62.238.1

; CNAME Records
calendar 3600 IN CNAME calendar.secureserver.net.
cpanel 10800 IN CNAME @
cpanel.new 3600 IN CNAME new.morespeech.com.
email 3600 IN CNAME email.secureserver.net.
fax 3600 IN CNAME fax.secureserver.net.
files 3600 IN CNAME files.secureserver.net.
ftp 3600 IN CNAME @
imap 3600 IN CNAME imap.secureserver.net.
mobilemail 3600 IN CNAME mobilemail-v01.prod.mesa1.secureserver.net.
pop 3600 IN CNAME pop.secureserver.net.
smtp 3600 IN CNAME smtp.secureserver.net.
webdisk 10800 IN CNAME @
webdisk.admin 10800 IN CNAME @
webdisk.admin.new 3600 IN CNAME new.morespeech.com.
webdisk.new 3600 IN CNAME new.morespeech.com.
whm 10800 IN CNAME @
whm.new 3600 IN CNAME new.morespeech.com.
www 10800 IN CNAME @
www.admin 10800 IN CNAME @
www.admin.new 3600 IN CNAME new.morespeech.com.
www.new 3600 IN CNAME new.morespeech.com.
_domainconnect 3600 IN CNAME _domainconnect.gd.domaincontrol.com.

; MX Records
@ 3600 IN MX 0 smtp.secureserver.net.
@ 3600 IN MX 10 mailstore1.secureserver.net.

; TXT Records
@ 3600 IN TXT “google-site-verification=RdmQBAYTF8kl1Ld-JQFzmAylUr9ZAF0XYjsIb8y1RPI”
@ 3600 IN TXT “google-site-verification=yqOTJCJisEJwbV69OG_kriNW6CLRsJ-muZXLZW-zstM”
@ 3600 IN TXT “v=spf1 include:mailgun.org ~all”
cm._domainkey 600 IN TXT “k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD0W+ba+iBsJG2xgnFXw5bajmeDeRi/W560MjJRUWrcyKzIo2THYYNu9comGlU2KFu5w+hxtka1dvh/WMARiVBIK7dyU7hJrpzhZwE1tYLU1RC6mHKcjXZwzGMs44KkI5EO3drAswl5/eo1KW9q+x3Vy1pU5XMBcxYXGUciVGfOCwIDAQAB”
mixpanel._domainkey 600 IN TXT “v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC2zEodMT6gjdr8KxXuA9/Fv7MBulEH2eNFTT/2524PLpl1DcuxY3Wwi9rko0xVqNcvLt9rD+UaSxqVbzHKvIwylvplusvL5PgykuDEf9Klmle2lvyD1cbZxsgKG54pbS1tMPBwn8m9AshqESTfdJ3A1wPp6vuIHXam2quBJPCE1wIDAQAB”
mixpanel._domainkey 3600 IN TXT “v=spf1 include:datadrivenemail.com ~all”
smtp._domainkey 3600 IN TXT “k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCk9qG1RoQGyNMwcGT327auSWzg/9H1ZgvN0voxUR7kyeUjil7qeTUJqgl3AMpkDzbDl/pCrS9KueIhlJqUQaiINC62jxQTwxaUmM8fm9LYtCiukxhE5gQAFb86XpCIe7C3ZlCk6T+j0WiRJzQb/OQor41bq4+n8t/162mm8cpnGwIDAQAB”
websrv1 3600 IN TXT “v=spf1 mx a ptr a:webapp.morespeech.com ?all”

; SRV Records
[email protected] 3600 IN SRV 0 0 443 autodiscover.secureserver.net.

; AAAA Records

; CAA Records

; NS Records
@ 3600 IN NS ns45.domaincontrol.com.
@ 3600 IN NS ns46.domaincontrol.com.

DNS I exported from CloudFlare

;;
;; Domain: morespeech.com.
;; Exported: 2019-09-22 01:44:13
;;
;; This file is intended for use for informational and archival
;; purposes ONLY and MUST be edited before use on a production
;; DNS server. In particular, you must:
;; – update the SOA record with the correct authoritative name server
;; – update the SOA record with the contact e-mail address information
;; – update the NS record(s) with the authoritative name servers for this domain.
;;
;; For further information, please consult the BIND documentation
;; located on the following website:
;;
;; http://www.isc.org/
;;
;; And RFC 1035:
;;
;; http://www.ietf.org/rfc/rfc1035.txt
;;
;; Please note that we do NOT offer technical support for any use
;; of this zone data, the BIND name server, or any other third-party
;; DNS software.
;;
;; Use at your own risk.

;; SOA Record
morespeech.com. 3600 IN SOA morespeech.com. root.morespeech.com. 2032078325 7200 3600 86400 3600

;; A Records
admin.morespeech.com. 1 IN A 107.180.26.80
free.morespeech.com. 1 IN A 184.168.131.241
get.morespeech.com. 1 IN A 184.168.131.241
mail.morespeech.com. 1 IN A 107.180.26.80
morespeech.com. 1 IN A 107.180.26.80
new.morespeech.com. 1 IN A 107.180.26.80
ns1.morespeech.com. 1 IN A 45.55.49.35
ns2.morespeech.com. 1 IN A 45.55.49.35
vps.morespeech.com. 1 IN A 174.136.15.177
web.morespeech.com. 1 IN A 143.95.99.130
win.morespeech.com. 1 IN A 50.62.238.1

;; CNAME Records
calendar.morespeech.com. 1 IN CNAME calendar.secureserver.net.
cpanel.morespeech.com. 1 IN CNAME morespeech.com.
email.morespeech.com. 1 IN CNAME email.secureserver.net.
fax.morespeech.com. 1 IN CNAME fax.secureserver.net.
files.morespeech.com. 1 IN CNAME files.secureserver.net.
ftp.morespeech.com. 1 IN CNAME morespeech.com.
imap.morespeech.com. 1 IN CNAME imap.secureserver.net.
mobilemail.morespeech.com. 1 IN CNAME mobilemail-v01.prod.mesa1.secureserver.net.
pop.morespeech.com. 1 IN CNAME pop.secureserver.net.
smtp.morespeech.com. 1 IN CNAME smtp.secureserver.net.
webdisk.admin.morespeech.com. 1 IN CNAME morespeech.com.
webdisk.morespeech.com. 1 IN CNAME morespeech.com.
whm.morespeech.com. 1 IN CNAME morespeech.com.
www.admin.morespeech.com. 1 IN CNAME morespeech.com.
www.morespeech.com. 1 IN CNAME morespeech.com.

;; MX Records
morespeech.com. 1 IN MX 0 smtp.secureserver.net.
morespeech.com. 1 IN MX 10 mailstore1.secureserver.net.

;; SRV Records
_autodiscover._tcp.morespeech.com. 1 IN SRV 0 0 443 autodiscover.secureserver.net.

;; TXT Records
cm._domainkey.morespeech.com. 1 IN TXT “k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD0W+ba+iBsJG2xgnFXw5bajmeDeRi/W560MjJRUWrcyKzIo2THYYNu9comGlU2KFu5w+hxtka1dvh/WMARiVBIK7dyU7hJrpzhZwE1tYLU1RC6mHKcjXZwzGMs44KkI5EO3drAswl5/eo1KW9q+x3Vy1pU5XMBcxYXGUciVGfOCwIDAQAB”
morespeech.com. 1 IN TXT “v=spf1 include:mailgun.org ~all”
morespeech.com. 1 IN TXT “google-site-verification=yqOTJCJisEJwbV69OG_kriNW6CLRsJ-muZXLZW-zstM”
morespeech.com. 1 IN TXT “google-site-verification=RdmQBAYTF8kl1Ld-JQFzmAylUr9ZAF0XYjsIb8y1RPI”
smtp._domainkey.morespeech.com. 1 IN TXT “k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCk9qG1RoQGyNMwcGT327auSWzg/9H1ZgvN0voxUR7kyeUjil7qeTUJqgl3AMpkDzbDl/pCrS9KueIhlJqUQaiINC62jxQTwxaUmM8fm9LYtCiukxhE5gQAFb86XpCIe7C3ZlCk6T+j0WiRJzQb/OQor41bq4+n8t/162mm8cpnGwIDAQAB”

You’ve certainly been very thorough. I admit I’ve never (to my recollection) tried importing a BIND file, but if you’re in an experimenting mood, I’d strip out the comments, the SOA, and the NS records. And make sure those TXT records are really a single line each (no line breaks). Then try importing that.

And if all else fails, open a Support Ticket:
Login to Cloudflare and then contact Cloudflare Support by clicking on the Get More Help button.

I guess that should be the way to go. It would seem as if the entire import feature is broken right now, as it cant even import a single record.

The UI is very indecisive again today though :smile:

1 Like

Ahhhh, I have been having this same issue for days now. I really hope they sort this out soon

Raargh, me too! Shame… I really need this feature right now to transfer over a whole bunch of entries from one domain to another.

same error on all accounts. also on totally fresh new account, import not working !!!

Same error is seen here using API v4 import endpoint.

It does not matter whether the zone file has SOA, NS or if they are removed. Zone has 24 records only.

Made support ticket too.

{
  "result": null,
  "success": false,
  "errors": [
    {
      "code": 1037,
      "message": "The number of records in the zone file exceeds the zones record quota"
    }
  ],
  "messages": []
}

Yes, we do know by now that there is an issue :wink:

@cloonan

same error on all accounts. import not working !!

I would recommend contacting support directly.

1 Like

Thanks for reposting my own screenshot from three days ago :wink:

As I wrote, it is pretty obvious there is an issue by now :wink:

2 Likes

Same here. Can’t import a zone file from office365 (9 records).

The issue is known and Cloudflare hopefully works on it.

There is little point in all these #metoos. If you want to push the issue it is best to open a support ticket. In that way Cloudflare should notice it is not a single instance (which they probably know by now anyhow). Just reposting earlier screenshots is a tad useless however I am afraid.

Temporarily closing (but also pinning) for three days. Hopefully there will be a fix by then.

Tagging @cloonan @ryan @adspedia

2 Likes

Yes, appears to be an issue the team is working on. I’ll keep an eye on progress and post an update when I see one.

Edit: Uploading via a BIND/Zone file was temporarily disabled on Free plan accounts due to an issue with the feature.

If you need to immediately & urgently import these records, please consider upgrading to a paid plan temporarily, your file should be able to be imported in the Pro plan. Sorry for the inconvenience.

Alternatively, programmatically import the records through the Cloudflare API as detailed at https://api.cloudflare.com/#dns-records-for-a-zone-import-dns-records

Our engineers are working to release a stable fix so that we can re-enable the feature soon, but I do not yet have an ETA for that fix.

2 Likes