• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Question How to update the DNS resolvable verifications through REST API?

tertek

New Pleskian
Server operating system version
AlmaLinux 8.10 (Cerulean Leopard)
Plesk version and microupdate number
v18.0.72
The question is in the context of sucessfully creating a new subdomain and issuing a certificate, both through REST API. I am experiencing a delay in some cases to the availability of the newly created subdomain, due to DNS: 'The domain is not resolvable' (visible in Plesk GUI).

I have found this HelpCenter article: What does trigger the message 'The domain is not resolvable' to appear in Plesk?

Unfortunately, I have no access to plesk CLI. Hence my question, if we can trigger update DNS resolvable verifications through REST API.
I have not found any documentation about "plesk daily CheckDomainsResolve" in the Plesk CLI docs (Using Command Line Utilities).

Where is this job call documented and is there any ways to trigger it without access to CLI, e.g. through REST API?
 
Hi, @tertek . As far as I am aware, there's no way to directly run plesk daily CheckDomainsResolve via the REST API. What you might try instead is to create a bash script with the command and a scheduled task for it. Then you can try calling the task with "https://plesk.example.com:8443/api/v2/cli/scheduler/call". I hope that works.
 
Back
Top