What do you mean by “DNS AAAA record pointing to 100::”? What do I put in the target and name sections? And would I have to create something similar for A records for IPv4? Thanks
All you need is something like this purely to have the catch all option, Cloudflare automatically adds an A record behind the scenes doing the same thing
Perfect, thank you. Out of curiosity, how come this method still didn’t work even when I specified a specific, rather than a wildcard, subdomain, like this for example:
A CNAME tells you to go to the other’s address (for example, 1.1.1.1), whereas a redirect actually says “go to this other domain” (for example, from sub.example.com go to example.com).
I have just done the above and unfortunately it still does not seem to be working, when testing it by typing blog.example.com to see if it redirects to www.example.com, it gives site can’t be reached/DNS_PROBE_FINISHED_NXDOMAIN error. Have tried on a different network, and also tried setting the destination url to just be example.com, but neither work.
That’s likely a DNS caching issue on your local computer. Try taking a look on Google about how to clear you DNS cache (it varies based on operating system and browser, you’ll need to clear both usually) or try on another computer/network entirely.