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:
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:
- Turning off Cloudflare SSL/TLS.
- Setting up various Cloudflare WAF settings to try unblock connections to the hostname.
- Switching between Argo Tunnel and DNS Records.