Open ivanceras opened 4 years ago
What is the TTL on the TXT records? We have a lot of tests around the caching, but if the TTL is high, we will cache it for that period of time.
Oh, I missed out that detail. I always put 1 minute on the TTL everytime I put a TXT record.
Ok, thanks for the report. I'll have to review the tests to try and see if there is something that's amiss.
Describe the bug The api just keeps returning the same set of txt_records, excluding the new ones I have just added, even though I can see that it has been propagated using tools like: https://mxtoolbox.com/
To Reproduce I have this config to lookup for the
txt_record
of a domain.I also tried using the default ResolverOpts only, but still has the same results.
If it's relevant I use my own supplied IP addresses which is the same provided by the IP. I have a plan to add different IP's in the future.
Expected behavior If I keep calling the api to return the TXT_RECORD, before and after my newly added TXT_RECORD, it should somehow pull from the DNS servers instead of keep returning the same set
cached
txt_records.System:
Version: Crate: resolver Version: 0.18.0-alpha.1
Additional context I tried out the new version because of the new
async/await
syntax, but it has some caching issues.