When moving web server to new droplet will DNS find it and update records automatically?

I have a DigitalOcean “Droplet” test server that is running PHP5.3. Yesterday I created a new test server Droplet running LAMP with PHP7.0 and set it up with the same Domain Name as the PHP5.3 Droplet. Then I turned off the PHP5.3 Droplet. Since the new PHP7.0 Droplet uses the same Nameservers, will the DNS system realize that the IP Address has changed for that Domain Name? Or is there something I need to do to nudge the DNS system to do this update?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

In the DO control panel in the droplets tab, make note of the IP address of your active droplet. Go to the Networking tab of the DO control panel and click the Domains link to the left. Then click on the domain you want to verify. Look for the A record and make sure the IP address matches the IP address of your active droplet. If not, change it and save the A record. It may take a few minutes to a few hours for your changes to propagate throughout the internet, although you can use the following linux command line to expedite your test:

host yourdomainnamehere