Symptoms
-
Unable to access the
example.com
Plesk hosted website with the error below:DNS_PROBE_FINISHED_NXDOMAIN
-
The DigitalOcean DNS extension is used for DNS synchronization.Â
-
The following error can be found inÂ
var/log/plesk/panel.log
 file:ERR [extension/digitaloceandns] Unable to get digital ocean records due to Operation timed out after 5000 milliseconds with 0 out of -1 bytes received
ERR [extension/digitaloceandns] The zone example.com is removed too long ...
Cause
Not sufficient timeout for PHP cURL function.
This behavior is also considered as a DigitalOcean DNS extension bug with ID #EXTPLESK-980, which will be fixed in the future extension update releases.
Resolution
Until the bug will be fixed, apply the workaround below:
-
Log into the server via SSH.
-
Create a backup for the
/usr/local/psa/admin/conf/php.ini
configuration file:# cp -a /usr/local/psa/admin/conf/php.ini{,.bak}
-
Using the vi text editor open the
/usr/local/psa/admin/conf/php.ini
 file: -
Add the line below to change the value forÂ
default_socket_timeout
parameter and save the changes:default_socket_timeout = 600
-
Restart Plesk service:
# service psa restart