TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Question about Virtual DNS with Cloudflare

2 pointsby iamjason89about 9 years ago
I&#x27;m trying to accomplish something that I&#x27;m not sure is doable. I&#x27;m using Cloudflare for the domain rainbowgardensinc.com and have a CNAME for the cdn.rainbowgardensinc.com record that goes to rainb.wpengine.netdna-cdn.com, as shown below.<p>I&#x27;m using Cloudflare for my nameservers as well and want to mask the returned IP&#x2F;CNAME record. I&#x27;m aware of CNAME flattening but that doesn&#x27;t mask the IP, it just returns it. I just want to hide the returned IP address like it does for the root level domain and gives back a Cloudflare IP instead. Does anyone know if this is doable or if there is a service they offer to do it?<p>-------------------------------------------- --------------------------------------------<p>What it looks like right now:<p><pre><code> rainbowgardensinc.com. NS maya.ns.cloudflare.com. rainbowgardensinc.com. NS cory.ns.cloudflare.com. rainbowgardensinc.com. A 104.27.179.101 rainbowgardensinc.com. A 104.27.178.101 www.rainbowgardensinc.com. A 104.27.178.101 www.rainbowgardensinc.com. A 104.27.179.101 cdn.rainbowgardensinc.com. CNAME rainb.wpengine.netdna-cdn.com. rainb.wpengine.netdna-cdn.com. A 94.31.29.96 </code></pre> If we use CNAME flattening, it would show like this:<p><pre><code> cdn.rainbowgardensinc.com. A 94.31.29.96 </code></pre> I want it to look like this after:<p><pre><code> rainbowgardensinc.com. NS maya.ns.cloudflare.com. rainbowgardensinc.com. NS cory.ns.cloudflare.com. rainbowgardensinc.com. A 104.27.179.101 rainbowgardensinc.com. A 104.27.178.101 www.rainbowgardensinc.com. A 104.27.178.101 www.rainbowgardensinc.com. A 104.27.179.101 cdn.rainbowgardensinc.com. A 104.27.178.101 cdn.rainbowgardensinc.com. A 104.27.179.101</code></pre>

1 comment

eastdakotaabout 9 years ago
That should work if you &quot;orange cloud&quot; (activate) the cdn.rainbowgardensinc.com CNAME entry in the CloudFlare DNS control panel.
评论 #11363879 未加载