Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefetch cache record cause records to resolve externally #1110

Open
deveshk0 opened this issue Nov 14, 2024 · 2 comments
Open

Prefetch cache record cause records to resolve externally #1110

deveshk0 opened this issue Nov 14, 2024 · 2 comments

Comments

@deveshk0
Copy link

Hi,

Once again, this is a great product. While using it in this huge production environment, we found a weird bug with caching.

Let's say we have a domain -

a.devesh.com which is managed by some external DNS like Google/Cloudflare, this domain resolves to another domain let's say a.service.com.

Now a.service.com is managed by Google/Cloudflare and internally it is managed by Technitium, Externally it points to an external IP and Techitium resolve to an internal IP

when you resolve a.devesh.com via technitium it will go to the forwarder and get a.service.com and technitium will resolve a.service.com to internal IP. But when cache prefetch is enabled it changed to external records after some time.

@ShreyasZare
Copy link
Member

Thanks for the post. Will test this and let you know soon.

@ShreyasZare
Copy link
Member

Thanks again for the feedback. I am trying to reproduce this issue but unable to get the results.

I am trying with blog.technitium.com domain name for the test which is publicly hosted and has a CNAME for ghs.google.com. So I have a conditional forwarder zone created for ghs.google.com and have an A record with private IP address to make the domain resolve to the required IP. I have also configured the Cache settings to set the Max TTL to 60 so that the CNAME record expires soon, and have the cache prefetch sampling to 1 min with eligibility to 5 hits/hour to allow fast testing. The CNAME is getting prefetched as expected but the domain still resolves to the private IP.

Is this the correct setup to test for this issue? Is there any change required to make it reproduce the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants