Bug: DNS TXT records with multiple @ are truncated in UI

I’ve been adding TXT records to my domains for DMARC and I’ve found that when editing an existing record, the UI truncates the record at the 2nd @ symbol.

For example, this:

v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; adkim=r; aspf=r; fo=1;

Becomes this when I attempt to edit it later:

v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:dmarc

Seen this in Chrome and Firefox on Windows. Inspecting in the developer console I can see that the call to dns_records did return the full value.

3 Likes

Came here specifically to report the same exact thing is occurring for me as well.

2 Likes

Same here. Hope this can be fixed ASAP.
Cannot modify the DMARC record with correct values right now …

Like the other above, the same is happening to me, on both FF and Chrome.

I’m using mxtoolbox to check records, so at least there’s a workaround and does show that the actual record is updated correctly.

The bug report in the thread you linked to describes a situation where the UI for editing TXT records in Cloudflare truncates the record at the second @ symbol. This can be a problem for DMARC records, which often contain multiple @ symbols.

The bug has been confirmed and is currently under investigation by Cloudflare. In the meantime, there are a few workarounds that you can use:

  1. You can edit your DMARC record using the API.
  2. You can create a new DMARC record with the full value, and then delete the old record.
  3. You can use a different DNS provider that does not have this bug.

Here are the steps on how to edit your DMARC record using the API:

Prerequisites:

  • You must have a Cloudflare account.
  • You must have the Cloudflare API key.

Steps:

  1. Go to the Cloudflare API documentation page.
  2. Under the DNS section, click on the Update a DNS record endpoint.
  3. In the Request body section, enter the following JSON: JSON
{
  "type": "TXT",
  "name": "your_domain.tld",
  "content": "v=DMARC1; p=none; rua=mailto:[email protected]; ruf=mailto:[email protected]; adkim=r; aspf=r; fo=1;"
}
```                                                                                                                                                           Click on the Try it out button.
Enter your Cloudflare API key and click on the Execute button.
If the request is successful, you will see a JSON response with the updated DNS record.

Here are the steps on how to create a new DMARC record with the full value and delete the old record:

Steps:

Go to the Cloudflare DNS management page.
Click on the Add Record button.
Select the TXT record type.
Enter your domain name in the Name field.
Enter the full DMARC record value in the Content field.
Click on the Add Record button.
Once the new record has been created, you can delete the old record by clicking on the Delete button next to the record.

I hope this helps!
1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.