• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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