mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 19:25:56 +03:00
[PR #1137] [MERGED] Return REFUSED instead of NXDOMAIN when server is not an authority #2004
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#2004
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/1137
Author: @AnIrishDuck
Created: 6/18/2020
Status: ✅ Merged
Merged: 6/19/2020
Merged by: @bluejekyll
Base:
master← Head:master📝 Commits (4)
2e24322Allow logger statement to work with multiple testsdf203bbReturn Refused instead of NXDomain when not an authority for query7f9c2e9Fix for clippy90e343bcargo fmt📊 Changes
3 files changed (+23 additions, -5 deletions)
View changed files
📝
crates/server/src/authority/catalog.rs(+1 -1)📝
crates/server/src/store/in_memory/authority.rs(+6 -1)📝
crates/server/tests/authority_battery/basic.rs(+16 -3)📄 Description
This is par for the course for most authoritative servers I could find, for example:
If you hop into the RFC, it seems pretty clear cut:
I've probably missed some places, and can amend this PR as necessary.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.