mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #3319] [MERGED] Generalize answer filtering #3740
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#3740
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/3319
Author: @marcus0x62
Created: 10/19/2025
Status: ✅ Merged
Merged: 10/21/2025
Merged by: @marcus0x62
Base:
main← Head:generalize-answer-filtering📝 Commits (4)
bf79a25proto: move AccessControlSet to protoa5ba403resolver: move answer filtering from recursor to resolverb81b015resolver: allow resolver users to specify answer filteringe4c8a32conformance: add do_not_answer test for the forwarder📊 Changes
18 files changed (+414 additions, -188 deletions)
View changed files
📝
Cargo.lock(+2 -1)📝
conformance/dns-test/src/forwarder.rs(+17 -4)➕
conformance/e2e-tests/src/forwarder.rs(+1 -0)➕
conformance/e2e-tests/src/forwarder/do_not_answer.rs(+95 -0)➕
conformance/e2e-tests/src/forwarder/do_not_answer.toml.jinja(+16 -0)📝
conformance/e2e-tests/src/lib.rs(+1 -0)📝
crates/proto/Cargo.toml(+3 -0)➕
crates/proto/src/access_control.rs(+163 -0)📝
crates/proto/src/lib.rs(+2 -0)📝
crates/recursor/Cargo.toml(+1 -2)📝
crates/recursor/src/lib.rs(+1 -147)📝
crates/recursor/src/recursor.rs(+2 -1)📝
crates/recursor/src/recursor_dns_handle.rs(+5 -21)📝
crates/resolver/Cargo.toml(+2 -1)📝
crates/resolver/src/config.rs(+8 -0)📝
crates/resolver/src/name_server/name_server_pool.rs(+70 -6)📝
crates/resolver/src/resolver.rs(+19 -5)📝
tests/test-data/test_configs/example_forwarder.toml(+6 -0)📄 Description
This moves answer filtering into the resolver and adds configuration options to enable it for resolver and forwarder users. This should close out the remaining use cases from #347.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.