• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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)
 
Back
Top