Hi Cloudflare Community,
I’m experiencing an issue with DNS resolution and unexpected behavior across two zones in my Cloudflare account. Here’s the setup and the problem:
Setup
-
Zone 1: example.com (Partial setup, enterprise account)
- A Records:
-
foo.example.com -> origin IP (proxied)
-
www.example.com -> origin IP (proxied)
-
- CNAME Records at Authoritative DNS Provider (Not a Cloudflare):
- A Records:
-
Zone 2: example.net (Full setup, same enterprise account)
- CNAME Record:
- foo.example.net → foo.example.com (proxied).
- CNAME Record:
-
Zone 3: example2.net (Full setup, free account)
- CNAME Record:
- foo.example2.net → foo.example.com (proxied).
- CNAME Record:
Expected Behavior
- For foo.example.com to resolve to an origin IP
- For foo.example.net and foo.example2.net to resolve to the same origin IP as foo.example.com.
Actual Behavior
- When accessing foo.example.com, I receive a response from my origin as expected
- When accessing foo.example.net, I receive a 301 redirect to www.example.net. There are no redirect or page rules set up that would cause this behavior.
- When accessing foo.example2.net, I receive the following error:
Error 1000: DNS points to prohibited IP…
Questions
- Why is foo.example.net redirecting to www.example.net despite no configured redirect rules?
- Why is foo.example2.net returning an Error 1000?
- How can I configure these records to resolve to the correct origin IP without issues?
Any insights or suggestions would be greatly appreciated!
Thank you!