mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[GH-ISSUE #470] QUERY_DEPTH attempt to add with overflow #199
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#199
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 @DarrenTsung on GitHub (May 17, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/470
Hi, I'm trying to swap out the default DNS resolver in
hyperwithtrust-dnsand I'm seeing this panic when attempting to send out a lot of requests.Full error:
The code in question:
This is reproducible by running the
a_ton_of_notifications()test on my fork ofhyper-client-poolwhich we're using to send notifications.Fork: https://github.com/DarrenTsung/hyper-client-pool/tree/trust-dns.
I'm replacing the DNS resolver with this repo: https://github.com/DarrenTsung/hyper-http-connector/tree/trust-dns-cache-resolver.
Does anyone have any ideas why this might be happening? It might be related to how I implemented trust-dns resolver?
I have a c-ares implementation that works, but it would be great to use trust-dns for this as we use it elsewhere in our notification pipeline!
@bluejekyll commented on GitHub (May 18, 2018):
Which version of TRust-DNS Resolver are you using? I just patched a similar issue recently: #469
Also, I just published new versions of the libraries on crates.io, I'm in the middle of writing up the announcement.
@DarrenTsung commented on GitHub (May 18, 2018):
Using 0.8, I see you pushed up 0.9 to crates.io. I can update the branch and see if it still happens!
@DarrenTsung commented on GitHub (May 18, 2018):
Did an update to 0.9, the panic no longer occurs but I'm seeing a lot of errors and no requests going through:
The error messages aren't really saying too much on what's happening.
@bluejekyll commented on GitHub (May 18, 2018):
I'm sorry, I don't have time right now to dig into your issue. But I recently put together an example that might help you: https://github.com/bluejekyll/trust-dns/blob/master/resolver/examples/global_resolver.rs
@DarrenTsung commented on GitHub (May 18, 2018):
👍 Thanks for the example, no worries, I appreciate all the help!
@bluejekyll commented on GitHub (May 18, 2018):
Is this issue resolved?
@DarrenTsung commented on GitHub (May 18, 2018):
No, I haven't taken a look at fixing this as c-ares is working for us right now. The issue can still be reproduced on the
trust-dnsbranch of our repo:https://github.com/DarrenTsung/hyper-client-pool/tree/trust-dns
@bluejekyll commented on GitHub (May 18, 2018):
It looks like tokio-core is being used there. Not sure if that’s an issue.
@DarrenTsung commented on GitHub (May 24, 2018):
Replacing the tokio-core implementation with the global resolver fixed the issue, thanks for the suggestion!
@bluejekyll commented on GitHub (May 24, 2018):
Awesome!