• 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 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