Score:0

Add TXT error - Total record size limit exceeded. Code: 83011

eg flag

I keep getting Cloudflare API: Total record size limit exceeded but can't find anymore info about it.

I’m using certbot with cloudflare plugin to automatically create the TXT content but even when I try to add TXT record manually get the same error: Name: _acme-challenge.example.co.uk Content: PzbhiEKiP0juIIf6kqzJQnuIzfSLCOjFw67UV1dssy0

certbot certonly --dns-cloudflare --dns-cloudflare-credentials /root/.secrets/certbot/cloudflare.ini -d example .co.uk -d www.example .co.uk
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-cloudflare, Installer None
Requesting a certificate for example .co.uk and www.example .co.uk
Performing the following challenges:
dns-01 challenge for example .co.uk
dns-01 challenge for www.example .co.uk
Encountered CloudFlareAPIError adding TXT record: 83011 Total record size limit exceeded.
Cleaning up challenges
Error communicating with the Cloudflare API: Total record size limit exceeded.

Strangely when I using another TLD it works.

2022-01-10 19:39:21,720:INFO:certbot._internal.auth_handler:Performing the following challenges:
2022-01-10 19:39:21,721:INFO:certbot._internal.auth_handler:dns-01 challenge for example .co.uk
2022-01-10 19:39:21,721:INFO:certbot._internal.auth_handler:dns-01 challenge for www.example .co.uk
2022-01-10 19:39:21,727:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.cloudflare.com:443
2022-01-10 19:39:22,994:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 “GET /client/v4/zones?name=example .co.uk&per_page=1 HTTP/1.1” 200 None
2022-01-10 19:39:22,996:DEBUG:certbot_dns_cloudflare._internal.dns_cloudflare:Found zone_id of 123 for example .co.uk using name example .co.uk
2022-01-10 19:39:22,996:DEBUG:certbot_dns_cloudflare._internal.dns_cloudflare:Attempting to add record to zone 123: {‘type’: ‘TXT’, ‘name’: ‘_acme-challenge.example.co.uk’, ‘content’: ‘PzbhiEKiP0juIIf6kqzJQnuIzfSLCOjFw67UV1dssy0’, ‘ttl’: 120}
2022-01-10 19:39:24,124:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 “POST /client/v4/zones/123/dns_records HTTP/1.1” 400 None
2022-01-10 19:39:24,125:ERROR:certbot_dns_cloudflare._internal.dns_cloudflare:Encountered CloudFlareAPIError adding TXT record: 83011 Total record size limit exceeded.
2022-01-10 19:39:24,127:DEBUG:certbot._internal.error_handler:Encountered exception:
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/certbot_dns_cloudflare/_internal/dns_cloudflare.py”, line 116, in add_txt_record
self.cf.zones.dns_records.post(zone_id, data=data) # zones | pylint: disable=no-member
File “/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py”, line 686, in post
return self._base.call_with_auth(‘POST’, self._parts,
File “/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py”, line 126, in call_with_auth
return self._call(method, headers, parts,
File “/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py”, line 502, in _call
raise CloudFlareAPIError(code, message)
CloudFlare.exceptions.CloudFlareAPIError: Total record size limit exceeded.

This is export of my DNS

example.com 3600    IN  SOA example.com root.example.com 2039433416 7200 3600 86400 3600

;; A Records
example.com.    1   IN  A   1.22.33.444

;; CNAME Records
autodiscover.example.com.   1800    IN  CNAME   autodiscover.outlook.com.
enterpriseenrollment.example.com.   1800    IN  CNAME   enterpriseenrollment.manage.microsoft.com.
enterpriseregistration.example.com. 1800    IN  CNAME   enterpriseregistration.windows.net.
pm-bounces.example.com. 1   IN  CNAME   pm.mtasv.net.
selector1._domainkey.example.com.   3600    IN  CNAME   selector1-web2works-co-uk._domainkey.web2works.onmicrosoft.com.
selector2._domainkey.example.com.   3600    IN  CNAME   selector2-web2works-co-uk._domainkey.web2works.onmicrosoft.com.
www.example.com.    1   IN  CNAME   example.com.

;; MX Records
example.com.    1   IN  MX  0 example-com.mail.protection.outlook.com.

;; TXT Records
20190416133212pm._domainkey.example.com.    1   IN  TXT "k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDJvupa01CPpFWTjaNw3IrF2jYQ0GI8PIHHX0lBxtUf7X1hTl9pNOBDXIk/ebbsB2wu2w5hu1yYC4jMpnPObCjaBIXZhrGS8zXnCgYFqr3RaHIOrgBhxjzLSM8WMAKMw9n7zEFakE5xpXZ5Jvh9aKwi61whwtY7FIfl86TsgT3HWwIDAQAB"
_dmarc.example.com. 1   IN  TXT "v=DMARC1; p=none; rua=mailto:[email protected]"
example.com.    1   IN  TXT "v=spf1 include:spf.protection.outlook.com -all"
Patrick Mevzek avatar
cn flag
Did you ask CloudFlare? Both of your traces show the same error and the size of `PzbhiEKiP0juIIf6kqzJQnuIzfSLCOjFw67UV1dssy0` does not match the error.
eg flag
Tried but I can only post on their forum and getting no reply https://community.cloudflare.com/t/add-txt-error-total-record-size-limit-exceeded-code-83011/344297/2
eg flag
Just tried again and its let me create a support ticket now. Will have to see what they have to say
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.