How to setup apex and www on Netlify, but other subdomains on Linode?

I’m a bit confused on the best setup for DNS between Netlify and Linode.

I have 3 subdomains that are for applications running on Linode. Call them sub1, sub2 and sub3. Those apps will not be hosted on Netlify. They each have their own seperate SSL via LetsEcrypt, thanks to Caddy; each has one, so no wildcard SSL for those. Originally, that was all working as expected using Linode DNS, with Linodes nameservers over on the domain registrar.

For the site that will be running on the apex domain and www subdomain, it is static site and is hosted on Netlify.

So, the question is:

Do I move 100% to Netlify DNS (change NS on registrar to Netlify etc.), and then point A/AAAA records for the three subdomains (sub1, sub2, sub3) back to Linode using the IPs of the server there? And then setup the apex and www and SSL as normal on Netlify for apex and www?

Or do I do it the reverse, where Linode is the main DNS provider (NS pointing to Linode DNS) and for the apex and www I make CNAME (or something) and point to the novelty domain mysite.netlify.app domain for each?

Thanks!

You could do either option A (delegate DNS to Netlify) or option B (configure external DNS.)

Try reading this support guide which provides an overview of the reasons/benefits for each

Based on your setup, I would suggest leaving DNS with the registrar and using external DNS configuration for Netlify as it requires configuring only two records rather than replicating all DNS records.

Great, thanks again, dig!