MX DNS Issue

What is the name of the domain?

mendaaxxx.tech

What is the issue you’re encountering

DNS in cloudflare GUI is set correctly but when you do an MX lookup or dig it answers with mendaaxxx.tech. IN MX 10 _dc-mx.05988edfc893.mendaaxxx.tech. instead of mail.mendaaxxx.tech

What feature, service or problem is this related to?

DNS records

That’s likely because mail.mendaaxxx.tech is proxied.

Disable the proxy for all email records.

1 Like

Just a follow up, I have discovered it is directly related to the cloudflare tunnel, if I remove it, the DNS record is correct, is there anyway around this?

Is the mail server behind the Cloudflare tunnel?

Correct. First time using tunnels so yeah I think I may have put myself in a bad position here lol

1 Like

Unfortunately, that’s a no go. And the MX record domain is your least concern.

Cloudflare’s proxy only supports htttp/s traffic (unless you have Spectrum). And as a tunnel, by definition, requires the proxy, you’re not going to be able to run a public mail server behind it.

Sure, and you can tunnel any UDP/TCP traffic between two devices running the tunnel software, but not the public internet.

Tailscale my be a better solution if you really want to run a local mail server, but why bother at all? I host a lot of things myself, but mail is where I draw the line :smiley:

3 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.