• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Resolved Plesk does not accept quotes for zone records

ondrejvaroscak

New Pleskian
Username:

TITLE


Plesk does not accept quotes for zone records

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.65_build1800241106.13 os_Ubuntu 24.04
DNS Integration for Cloudflare® Version 1.0.4-1312

PROBLEM DESCRIPTION

DNS TXT contains quotes by definition per
RFC1464. Example [example.com. IN TXT "This domain name is reserved for use in documentation"]

DNS in Plex doesn't accept quotes in input field, which would be ok, if they would be appended in the zone, but it is not the case. By export to Cloudflare the records are exported without quotes. Cloudflare servers detect and correct this automatically and add quotes to the TXT records.

By Import Cloudflare servers send complete records including quotes, which causes Cloudflare DNS extension to ignore these records and throw error TXT: [Incorrect DNS Record parameter values were specified: ('displayVal' = '"This domain name is reserved for use in documentation;"')]

I believe this is due to:

1. wrong implementation of Plesk DNS interface not following TXT record definition
2. wrong implementation of Cloudflare DNS extension not providing the quoted - nonquoted conversion

STEPS TO REPRODUCE


  1. Create TXT record in the zone with quotes like _acme.challenge.example.com IN TXT "text"
  2. Create TX record in the zone without quotes like _acme.challenge.example.com IN TXT text
  3. Export the record created to the Cloudflare
  4. Add quotes in Cloudflare
  5. Import the zone from Cloudflare

ACTUAL RESULT

  1. Record creation fails with "The TXT record value must be a single string with no quotation marks."
  2. Record successfully created
  3. Zone exported, the Cloudflare advises (red exclamation left of record in dashboard) that TXT record should be quoted
  4. Quotes accepted, Cloudflared clear the exclamation error indicator
  5. Zone import concluded with warnings: "TXT: Incorrect DNS Record parameter values were specified: ('displayVal' = '"text"', 'val' = '"text"')"

EXPECTED RESULT

Plesk expect to accept quoted input or automatically quote input the zone per RFC1464

or

Cloudflare export/import routine handles RFC1464 non-conformance

ANY ADDITIONAL INFORMATION

(DID NOT ANSWER QUESTION)

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Hello, @ondrejvaroscak. Thank you for the report. Our team is already working on addressing this issue. The bug is identified with ID EXTPLESK-5352 and the fix will be introduced in the one of the upcoming releases. Unfortunately, at the moment I cannot provide any ETA, but I will provide an update as soon as more information is available. Thank you in advance for your patience in the meantime.
 
The new extension version has been released,
Let us know if you have any feedback or if you are still having an issue with quotes in records during import.

1.0.5 (19 November 2024)​

  • [-] Importing DNS records no longer fails with the "Incorrect DNS Record parameter values were specified" error if a TXT record contains one or more double quote (") characters. (EXTPLESK-5352)
 
The new extension version has been released,
Let us know if you have any feedback or if you are still having an issue with quotes in records during import.
Hi. Just tried to import/export records to/from Cloudflare. Looks like it doesn't work again.
Adding a TXT record also ends up in a problem with quotation marks.
 

Attachments

  • explorer_UR1CWC1YUI.png
    explorer_UR1CWC1YUI.png
    39.5 KB · Views: 8
Hello, @IronDonDon . I tested the import/export function of the "DNS Integration for Cloudflare" extension and appears to be working fine on my end. Could you please provide more details and step-by-step instructions on how we can attempt to reproduce the issue you are experiencing, along with the OS and Plesk version of your server?

Regarding your screenshot about the quotation marks, this is an expected behavior. As the warning message indicates the manually entered record value should not contain quotation marks, as this will potentially lead to parsing errors. The DNS server will handle quoting as needed.
 
Hello, @IronDonDon . I tested the import/export function of the "DNS Integration for Cloudflare" extension and appears to be working fine on my end. Could you please provide more details and step-by-step instructions on how we can attempt to reproduce the issue you are experiencing, along with the OS and Plesk version of your server?

Regarding your screenshot about the quotation marks, this is an expected behavior. As the warning message indicates the manually entered record value should not contain quotation marks, as this will potentially lead to parsing errors. The DNS server will handle quoting as needed.

Hi.
Just checked again myself — it works the way I described before."
System:
Plesk Obsidian 18.0.70 Update #1
Ubuntu 20.04.6 LTS

The way to reproduce :
Try to add a TXT record with quotation marks - fails as I reported earlier.
Try to add a TXT record without quotation marks - works, but adds/updates Cloudflare records ALSO without quotation marks.
If you import a Cloudflare record w/ quotation marks, change it and then export it back to CF, it's going to have no quotation marks.
Expected behavior :
The records on Plesk and Cloud flare should be in sync, including quotation marks.

P.S.
Since you connect Plesk to Cloudflare, the records should be in sync, the Cloudflare way. Plesk does download and shows records w/o quotation marks and as a consequence exports the same type of records w/o quotation marks back to Cloudflare.
So, generally speaking, there is a discrepancy between Plesk records and Cloudflare records. That's pretty much the main problem.

Hope, you can fix it.
 

Attachments

  • Screenshot 2025-06-14 at 22.19.05.png
    Screenshot 2025-06-14 at 22.19.05.png
    126.8 KB · Views: 4
  • Screenshot 2025-06-14 at 22.18.07.png
    Screenshot 2025-06-14 at 22.18.07.png
    93.2 KB · Views: 3
Back
Top