We have a requirement to keep name servers at Route 53, right now our name servers are with cloudflare and we are using proxied DNS entries. What is the best way to go about moving name servers to Route 53?
I was looking into it and was able to confirm that if I use the proxied IP (the Cloudflare IP that is being used as a proxy to the actual IP specified in Cloudflare DNS console) for DNS records at Route53 then DNS resolution seems to work, however I am not sure if the proxied IP’s change periodically. Can anyone please advise?
BTW - one domain is registered with GoDaddy and the other with Cloudflare.
While his will initially work, unless you convert to a CNAME setup Cloudflare will delete the domain a few weeks after they detect that the nameservers are no longer active on Cloudflare. They will also not be able to validate the Universal SSL certificates, so those will start to fail eventually.
Converting to a CNAME setup is the way to go, and then you can convert your DNS entries in Route53 to point to www.example.com.cdn.cloudflare.net (or similar), and those CNAME targets will follow the Cloudflare IP changes, and any change you make from to on the Cloudflare Dashboard. The limitation here is that the root (example.com) cannot be a CNAME.