Discussion

Question about Virtual DNS with Cloudflare

I'm trying to accomplish something that I'm not sure is doable. I'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.

I'm using Cloudflare for my nameservers as well and want to mask the returned IP/CNAME record. I'm aware of CNAME flattening but that doesn'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?

-------------------------------------------- --------------------------------------------

What it looks like right now:

  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
If we use CNAME flattening, it would show like this:

  cdn.rainbowgardensinc.com.    	A	94.31.29.96
I want it to look like this after:

  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
2 points iamjason89 10 years ago 4 comments

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton