mirror of
https://github.com/hickory-dns/hickory-dns.git
synced 2026-04-25 03:05:51 +03:00
[PR #2359] [MERGED] use a "test" TLD in conformance tests #2983
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#2983
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/2359
Author: @japaric
Created: 8/15/2024
Status: ✅ Merged
Merged: 8/26/2024
Merged by: @japaric
Base:
main← Head:ja-test-tld📝 Commits (3)
80d8450refactor example.nameservers.com. into a constantf7f6861rename FQDN::NAMESERVERS to TEST_DOMAINc678a8ause a "test" TLD in conformance tests📊 Changes
15 files changed (+76 additions, -57 deletions)
View changed files
📝
conformance/packages/conformance-tests/src/resolver/dns/scenarios.rs(+3 -3)📝
conformance/packages/conformance-tests/src/resolver/dnssec/adhoc.rs(+1 -1)📝
conformance/packages/conformance-tests/src/resolver/dnssec/fixtures.rs(+5 -5)📝
conformance/packages/conformance-tests/src/resolver/dnssec/regression.rs(+4 -4)📝
conformance/packages/conformance-tests/src/resolver/dnssec/rfc4035/section_3/section_3_1/section_3_1_4.rs(+9 -5)📝
conformance/packages/conformance-tests/src/resolver/dnssec/rfc4035/section_3/section_3_2/section_3_2_2.rs(+2 -2)📝
conformance/packages/conformance-tests/src/resolver/dnssec/rfc4035/section_4/section_4_5.rs(+2 -2)📝
conformance/packages/conformance-tests/src/resolver/dnssec/rfc4035/section_4/section_4_6.rs(+1 -1)📝
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/ede.rs(+6 -6)📝
conformance/packages/conformance-tests/src/resolver/dnssec/scenarios/secure.rs(+3 -3)📝
conformance/packages/dns-test/src/fqdn.rs(+11 -10)📝
conformance/packages/dns-test/src/name_server.rs(+23 -9)📝
conformance/packages/dns-test/src/record.rs(+2 -2)📝
conformance/packages/dns-test/src/tshark.rs(+2 -2)📝
tests/e2e-tests/src/resolver/dnssec/regression.rs(+2 -2)📄 Description
This is to make it clearer, when discussing bugs in the issue tracker, that DNS queries happen within a test DNS environment.
example.hickory-dns.testing.is clearly not a public domain and*.hickory-dns.testing.domains won't overlap with existing public domains (hopefully)Note that we do NOT use the
test.TLD which is a reserved TLD in the DNS specification because RFC6761 lets DNS implementations diverge from the DNS specification when dealing with that TLD.Namely,
unboundappears to make use of that allowance (RFC6761) because it behaves differently when dealing with**.test.domains and that leads to over 16 conformance test failures. In contrast, BIND passes all conformance tests when thetest.TLD is used.also see this thread https://github.com/hickory-dns/hickory-dns/issues/2192#issuecomment-2119013440
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.