• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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