Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
- After Import is pressed for a domain in the DNS Integration for Cloudflare® extension and a new DNS record is created for that same domain on the side of Plesk immediately afterwards, the extension does not synchronize the newly created DNS record with Cloudflare automatically, even though the Auto-sync toggle remains enabled for the domain within the extension in the meantime
- Due to the above, if an attempt to issue a Wildcard Let's Encrypt SSL certificate for that domain on the side of Plesk is made immediately afterwards, it fails once the Continue button is pressed
Cause
Five minutes after you select a domain and press on the Import button in the DNS Integration for Cloudflare® extension for Plesk, nothing you create on the side of Plesk as a DNS record for the domain will be synchronized with Cloudflare.
This delay is implemented, because the process of finalizing the synchronization of records from Cloudflare to the local DNS zone for your domain on the side of Plesk requires enough time to pass after pressing on Import to be finalized completely.
The development team has created a task #EXTPLESK-5633 which has the aim of adding more transparency in Plesk GUI about this necessary delay.
Even if you add 10 records on the local DNS zone on the side of Plesk for the domain during these 5 minutes, none of them will be synchronized automatically with Cloudflare even after these 5 minutes pass.
Only a subsequent action within the DNS zone of the domain on the side of Plesk taken after the 5 minutes pass (like the creation of a TXT for the Wildcard SSL) will trigger all changes to be synchronized with Cloudflare.
Resolution
You must always wait 5 minutes for after pressing the Import button for a domain in the DNS Integration for Cloudflare® extension for Plesk, because the DNS zone for the domain on the side of Plesk will be locked for synchronization with Cloudflare during these 5 minutes.
After the 5 minutes pass, you can proceed and execute any changes to records in the DNS zone for the domain on the side of Plesk and they will be automatically synchronized with the DNS zone of the domain on the side of Cloudflare almost immediately.
Even though it is not recommended to decrease the delay, because it can interrupt the import of records from Cloudflare to Plesk. If a customer insists on making the delay period shorter than 5 minutes, they can change the default value of 300 seconds to any other value in seconds (100 seconds in the example below) by adding the following lines to the panel.ini
file:
CONFIG_TEXT: [ext-cloudflaredns]
autoSyncDisableTtl = 100
Comments
0 comments
Please sign in to leave a comment.