DNS Concern

Hello all!!

So I have used Cloudflare for sometime now and recently I was mad aware of a vulnerability that I am sure is known to most of you but not to me so I am coming here for advice on how to circumvent this issue and remain secure with my IP addresses.

I own a Dedicated Server with several VPSs created within all having different IPs. For the sake of this lets say VPS 1 is 1.1.1.1

I have some A records created in cloudflare that are proxied through cloudflare of course. Now when I did this I setup my A record and had it point to IP 1.1.1.1 and what not so naturally if you ping subdomain.domain.com if showed cloudflares ip and not 1.1.1.1 HOWEVER if you go to cloudflare as another user and try and link domain.com you can pull my DNS records and see the IP address 1.1.1.1

My question is how do people set it up so that the ip they point to in cloudflares panel is cloudflares ip?? I have seen it before with a friend who had a VPS with IP 2.2.2.2 and when I looked at his A records with subdomains they were pointed to cloudflares IP and not the IP 2.2.2.2 I hoped I explained this well.

No you can’t. The DNS query Cloudflare runs is against public DNS records, not your account.

1 Like

Well… On my domain the DNS records obviously expose my servers IP… However if you pull DNS for my friends domain it shows cloudflare DNS records.

You have some records that are :grey: DNS Only then. This is a common necessity on hosts that run services that cannot be proxied, such as email. If you are concerned about the secrecy of the IP, it is best to move those services to another server.