I'm reading through this guide which is quite thorough and helpful, but I've come across one paragraph that's stumping me.
For your root domain, you'll change its A record to point to one of the CDN's IP ranges. For each subdomain, modify its CNAME record to point to a CDN-provided subdomain address (e.g., ns1.cdn.com). In both cases, this results in the DNS routing all visitors to your CDN instead of being directed to your original server. - See more at: https://www.incapsula.com/cdn-guide/what-is-cdn-how-it-works.html#sthash.f0v6pdOz.dpuf
- The fact that you handle subdomains differently from root domains seems strange to me. Why am I using CNAME for subdomains, and A for root domain?
- Why am I using A or CNAME records at all? Shouldn't I just be changing the nameservers in my domain control panel to those of the CDN?