mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #922] ResolverOpts: Disable caching is ignored in 0.18.0-alpha.1 #566
Labels
No labels
blocked
breaking-change
bug
bug:critical
bug:tests
cleanup
compliance
compliance
compliance
crate:all
crate:client
crate:native-tls
crate:proto
crate:recursor
crate:resolver
crate:resolver
crate:rustls
crate:server
crate:util
dependencies
docs
duplicate
easy
easy
enhance
enhance
enhance
feature:dns-over-https
feature:dns-over-quic
feature:dns-over-tls
feature:dnsssec
feature:global_lb
feature:mdns
feature:tsig
features:edns
has workaround
ops
perf
platform:WASM
platform:android
platform:fuchsia
platform:linux
platform:macos
platform:windows
pull-request
question
test
tools
tools
trust
unclear
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hickory-dns#566
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ivanceras on GitHub (Nov 15, 2019).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/922
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_recordof 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
cachedtxt_records.System:
Version:
Crate: resolver
Version: 0.18.0-alpha.1
Additional context
I tried out the new version because of the new
async/awaitsyntax, but it has some caching issues.@bluejekyll commented on GitHub (Nov 15, 2019):
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.
@ivanceras commented on GitHub (Nov 16, 2019):
Oh, I missed out that detail. I always put 1 minute on the TTL everytime I put a TXT record.
@bluejekyll commented on GitHub (Nov 16, 2019):
Ok, thanks for the report. I'll have to review the tests to try and see if there is something that's amiss.