Are my DNS settings working with DigitalOcean or are still using the old provider settings, how can I tell?

I’m recently moved from another host provider to DigitalOcean. In the previous host company I had configure a subdomain pointing to an application hosted on DigitalOcean, and in the previous provider I had configured Google Apps for email on my main website.

Now I’ve moved my main website to DigitalOcean to the best of my knowledge I configured the DNS settings correctly in the DigitalOcean DNS control panel for the main website, and I created a submain and added the Google Apps settings as well.

Of course, I’ve also change the nameservers on my registrar to make the switch. Now everything seems to be working OK, including website, subdomain, and Google Apps.

My question is that for a few more weeks I still have the old hosting service, where I didn’t change any of the settings, so I’m still wondering if after switching the nameservers to point the main website to the droplet on DigitalOcean, all my services (website, subdomain, and Google Apps) settings are being pull from the DigitalOcean DNS control panel?

I wouldn’t want to delete the old hosting provider account to find out that my subdomain and Google Apps stop working because I didn’t configure DigitalOcean DNS settings correctly and the settings were getting pull from the old provider.

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

  1. has a subdomain which has also been in DigitalOcean since the beginning, which means that in the cpanel of the old hosting provider has a subdomain that points to the DigitalOcean droplet.
  2. I haven’t touch any of the DNS settings in the old hosting provider, so the old hosting has configuration.
  3. After moving the main site ( to its new home, DigitalOcean, I updated the registrar server names to point to the new server. This one I know is working because pinging the domain main reveals the new IP address of DigitalOcean.
  4. Then in the DigitalOcean DNS manager for the server I added an “A” record pointing to the IP address, which as I recall from an article from DigitalOcean that all it was needed.

However, because always had the same DigitalOcean IP address, I can’t figure out if it’s being route through DigitalOcean DNS manager or the old hosting provider.

Using the command returns the IP address of the corresponding server, but it doesn’t say if it’s getting routed through the DNS manager in my old hosting provider or DigitalOcean.

I know the main website is working as expected through DigitalOcean, I was just wondering if after changing the nameservers in the registrar subdomains and other services, such as mail, under the domain will get routed through DigitalOcean.

If you use a Mac or a Linux machine, you could open a terminal app and use the dig command.


Use your own domain name of course :-) This will show you this output:


; <<>> DiG 9.11.1-P2-RedHat-9.11.1-2.P2.fc26 <<>>
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51836
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

; EDNS: version: 0, flags:; udp: 512
;			IN	A


;; Query time: 40 msec
;; WHEN: Sat Aug 26 22:28:43 CEST 2017
;; MSG SIZE  rcvd: 55

The answer section shows you the domains A record and the IP it resolves to.