• 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 DNS values that are changed via the database are cannot be queried publicly until DNS Settings are saved in the GUI

tollube

New Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Version 18.0.60 Update Nr. 1
Hi, I am operating a small dynDNS service on my plesk server and I am updating the dns entries for a domain via php over the plesk database.
This works and the entry is set correctly. However I cant query that value and it gives back the old IP address until I change something and save it in the plesk GUI of the domain.
Do I need to somehow apply the new DNS values or am I missing something?
Thanks in advance!
Lukas
 
Rather than changing values in the Plesk database directly it's recommended to change them one of the programmable interfaces that are available to automate things. Like the Plesk CLI, REST API or XML-RPC API.
 
Thanks for your hint.
I did apply a quick workaround via XML API so that I don't have to rework the entire process.
So apparently these DB values are applied when you change something about the general dns settings for that domain.
So I apply values for the soa record and that seems to trigger the provisioning of the DNS entries in the plesk db.
Seems to work for me for now.
 
Back
Top