keivanipchihagh / x-ui

Want to bypass Iran's GFW censorship? You are in the right place! 👻 V2ray VPN with X-UI dashboard, and Cloudflare's CDN, CFW and Self-Signed SSL
https://github.com/keivanipchihagh/xui
78 stars 6 forks source link

Blocking my IP (cloudflare) from dns #11

Open fornacis-202 opened 3 months ago

fornacis-202 commented 3 months ago

Hi. Recently ns lookup of my domain in Iran network results in 10.10.34.34. As I understood, this is a way of blocking my domain (by returning a false IP). Besides, changing the DNS server does not work; apparently they are blocking any A request and respond it themselves (with an unreachable IP for those they want to block). Do you have any suggestion on what I should do? I have tried creating a new domain but it took only a day to block the new one.

keivanipchihagh commented 3 months ago

Are you turning on the "proxied" checkbox on your DNS records? If so, doing this will move your server behind Cloudflare CDNs, and the IP address you see when pinging is not your server anymore, but the Cloudflare's.

fornacis-202 commented 3 months ago

Yes, I did that. I am expecting Cloudflare's IP when pinging my domain, and in fact I see that correct IP when looking through Valid DNS (such as google or cloudflare). But when pinging in Iran's network, 10.10.34.34 is returned instead of Cloudflare's IP.

keivanipchihagh commented 3 months ago

This is strange. Let's do a little scenario. Try making two subdomains, one proxied and the other one not. Wait a little for the configurations to settle in and try pinging them from both Iran and using online tools. What results do you get?

Nmaximillian commented 2 months ago

@keivanipchihagh : could you tell me how you enabled the proxy in cloudflare? Cause afaik, the proxy doesn't support port 54321 So once I enabled that, I cannot access the dashboard anymore.