• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Updating DNS Entry using the XML API

Einstein780

New Pleskian
Hi Guys,

I want to update existing DNS entries using the XML API for implementing my own DynDNS Client...

At the documentation, I've just found function for adding, retrieving and deleting DNS records:
https://docs.plesk.com/en-US/onyx/api-rpc/reference/managing-dns/managing-dns-records.35323/

Is there anyone who knows how I can updating existing DNS records? Thanks for any suggestions...!

I've created a feature request at plesk's feedback function... Feel free to vote for it :)
https://plesk.uservoice.com/forums/...update-existing-dns-entries-using-the-xml-api

Thanks!
Marco
 
Why you can't use update method like delete old record and add new instead?
 
Because I don't know if I break DNS resolving if I delete and re-create the entries...
I do not understand why this function is not implemented at the XML API. At the web interface I'm able to update existing DNS entries...
 
I do not understand why this function is not implemented at the XML API. At the web interface I'm able to update existing DNS entries...
Because in fact, update function is the same that deleting old record and adding new instead. In your XML API request you have to delete needed DNS record and immediately add new after that.
 
Ok, if the webinterface deletes and recreates the DNS record at the backand, then I can do it so, too...

Do you know if this is really implemented this way? Can you confirm this?
 
Yes, I confirm. When you edit DNS record in Plesk UI, zone file is deleted first and then created according to records from Plesk database.
 
Ok, when you confirm the application works this way, then I will implement my client using the XML API the same way - thank you!
 
Back
Top