mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #1197] [MERGED] Generic errors in proto #2073
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#2073
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?
📋 Pull Request Information
Original PR: https://github.com/hickory-dns/hickory-dns/pull/1197
Author: @bluejekyll
Created: 9/7/2020
Status: ✅ Merged
Merged: 9/15/2020
Merged by: @bluejekyll
Base:
main← Head:generic-errors-in-proto📝 Commits (4)
48c72a4make errors generic in DnsHandle for Resolverf4bb557more accurate negative responses6232544ensure caching of negative responses is correct65303a1fix regexes for beta and nightly Rust versions📊 Changes
31 files changed (+1577 additions, -392 deletions)
View changed files
📝
CHANGELOG.md(+7 -0)📝
Makefile.toml(+1 -0)📝
bin/tests/server_harness/mod.rs(+8 -5)📝
bin/tests/server_harness/mut_message_client.rs(+1 -0)📝
crates/async-std-resolver/src/runtime.rs(+2 -2)📝
crates/async-std-resolver/src/tests.rs(+3 -2)📝
crates/client/src/client/async_client.rs(+3 -2)📝
crates/client/src/client/async_secure_client.rs(+1 -0)📝
crates/client/src/client/client.rs(+1 -1)📝
crates/client/src/client/memoize_client_handle.rs(+2 -0)📝
crates/proto/src/op/message.rs(+13 -0)📝
crates/proto/src/rr/record_type.rs(+12 -0)📝
crates/proto/src/xfer/dns_exchange.rs(+1 -0)📝
crates/proto/src/xfer/dns_handle.rs(+5 -1)📝
crates/proto/src/xfer/dns_response.rs(+722 -1)📝
crates/proto/src/xfer/dnssec_dns_handle.rs(+51 -37)📝
crates/proto/src/xfer/mod.rs(+1 -0)📝
crates/proto/src/xfer/retry_dns_handle.rs(+16 -6)📝
crates/resolver/src/async_resolver.rs(+8 -6)📝
crates/resolver/src/dns_lru.rs(+139 -48)...and 11 more files
📄 Description
This should resolve the issue with the
NXDOMAINdetection. We can't do anything with the trustworthiness of the answers from upstream resolvers and authorities, but we can at least surface the correct error.Fixes: #1171
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.