Proxied DNS blocks server connections.

Excuse me if I don't understand something I am new to networking and security, I will try my best to explain the issue.

I'm currently working on a web application that requires a server backend. To avoid using the server's IPv4 address directly, I've set up a DNS A record to use a hostname instead. Everything works perfectly when the DNS setting is on 'DNS Only' mode. However, when I switch to 'Proxied' mode, I start encountering issues where I can no longer connect to the server, and I receive '400 Bad Request' errors.

I've experimented with various Cloudflare settings to resolve this issue but haven't had any success so far. Here are some of the things I've tried:

  1. Turning off Cloudflare SSL/TLS.
  2. Setting up various Cloudflare WAF settings to try unblock connections to the hostname.
  3. Switching between Argo Tunnel and DNS Records.
I'm reaching out to see if anyone has encountered a similar issue or has any suggestions on what else I can try to resolve this problem. Any advice or guidance would be greatly appreciated. Thank you!
Was this page helpful?