• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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