Skwal
Skwal
CDCloudflare Developers
Created by Skwal on 8/3/2024 in #general-help
Cloudflare returning 522 while site is UP, because of bug with DNS records
I have a web application that I am able to access from an external network, when bypassing cloudflare.
curl https://82.66.235.227 -k -H "Host: share.skwal.net" -4
-> works
curl https://82.66.235.227 -k -H "Host: share.skwal.net" -4
-> works
I have a dns A record for *.skwal.net pointing to 82.66.235.227. But when I use the domain I get a 522 error, "origin is down".
curl https://share.skwal.net -4
-> fails 522
curl https://share.skwal.net -4
-> fails 522
When I run a DNS query for share.skwal.net I get a Cloudflare IP. This issue appeared after I removed an A record for share.skwal.net pointing to 82.66.235.227, since this entry is made redundant by *.skwal.net
6 replies