DO DNS Authoritative for Domain on Cloudflare

May 13, 2018 447 views
DNS CentOS

I have a domain on Cloudflare <example.com>. I have full control over it.

I would like to have a subdomain on DigitalOcean, apps.example.com. I want the digital ocean nameservers to be authoritative for that subdomain.

I added a few NS entries to cloudflare for apps in the example.com

I added the subdomain to Digital Ocean.

Unfortunately, it doesn't seem as though this worked. Is this even possible?

1 Answer

@leebriggs58

You need to add the new domain app.example.com to DigitalOcean after that it should give you two nameservers which you must enter them at cloudflare like this

NS      app.example.com      <DO NameServer1>
NS      app.example.com      <DO NameServer1>

Now it should be working, to make sure use this command

dig +trace app.example.com

It should show that at the end DO NameServer is serving your request.

I hope it helps.

Have another answer? Share your knowledge.