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

Manual DNS update

gentle9

New Pleskian
Hi,

I am trying to update a dns (A-Host) entry manually.
This is my script.
Code:
/usr/bin/mysql "myupdatequery"
/opt/psa/admin/bin/dnsmng --update domain.com.

I can see in the plesk panel that the DB was updated correctly.
But it seems that the dns update is not working correctly, if I ping the host I still get the old IP.

I was trying to change the SOA values because I have a secondary DNS server and here I recognized
that after saving the SOA values the IP is updated. It doesn´t matter what values I enter it gets updated
after pressing the save button. If I ping the host after pressing save I get the new IP.
So it seems that after pressing save something is update which is not updated when I try to enter the DNS
entry manually.

Can anyone help me?
 
The IP address returned to "ping" is most likely cached by your local router or ISP.

Use the "host" command (if you have access to Mac/Linux) to query the server directly to see what IP address it is returning, eg:

"ping yoursite.com" may return the old ip address
"host yoursite.com" may return the old ip address
"host yoursite.com yourserveraddress.com" will ask yourserveraddress.com directly for the ip address, and you will hopefully get the new updated address
"host yoursite.com 8.8.8.8" will query googles public dns server for the ip address of yoursite.com

If you don't have access to the command line "host" app then try this website to check IP addresses: http://www.whatsmydns.net/
 
Back
Top