如何防止在Cloudflare上暴露原始IP地址? [英] How to prevent exposing origin IP address on Cloudflare?

查看:1397
本文介绍了如何防止在Cloudflare上暴露原始IP地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Cloudflare DNS设置页面上,它指出 A A,AAAA,CNAME或MX记录指向您的原始服务器,公开您的原始IP地址。

On Cloudflare DNS setting page it state that An A, AAAA, CNAME, or MX record is pointed to your origin server exposing your origin IP address.

我的域名中有一条指向 mail.mydomain.com 的MX记录。我相信它是邮件工作所需要的东西。如何防止它暴露我的原始IP地址?

I have an MX record on my domain pointing to mail.mydomain.com. I believe it is something needed for the mail to work. How can I prevent it from exposing my origin IP address?

推荐答案

CloudFlare通过替换DNS中的IP来通过其网络转发流量使用CloudFlare的IP记录。除邮件服务器外,此过程适用于所有情况。 CloudFlare不提供转发邮件的任何服务,因此当您获取MX记录并将其指向CloudFlare转发域时,CloudFlare将提供服务器的真实IP。

CloudFlare forwards your traffic through their network by replacing the IP in DNS records with CloudFlare's IP. This process works well in all situation except mail servers. CloudFlare does not offer any service for forwarding mail and as such when you take a MX record and point it to a CloudFlare forwarded domain, CloudFlare will give away server's real IP.

相反,更好的做法是使用第三方邮件服务(例如Zoho或Google Apps等),或让您的邮件服务器在不同的IP上运行。然后,您可以将MX记录指向不在您计算机上的新记录或邮件服务器,并确保隐藏真实IP。

Instead a better practice is to use a third party mail service (such as Zoho, or Google Apps, etc.), or have your mail server running on a different IP. You can then point the MX record to the new record or mail server not located on your machine, and keep the real IP hidden safely.

祝你好运

这篇关于如何防止在Cloudflare上暴露原始IP地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆