[GH-ISSUE #3125] Recursor: queries for NS RRset return empty results #1138

Closed
opened 2026-03-16 01:42:42 +03:00 by kerem · 1 comment
Owner

Originally created by @divergentdave on GitHub (Jul 16, 2025).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3125

I noticed that the recursor returns an empty RRset when queried for NS records. This only happens when DNSSEC validation is disabled. To reproduce, run the explore example, and then run dig @172.19.0.6 +rec NS testing. in the client container. The problem goes away when passing --dnssec to the example. This is probably happening because we are reusing a cached referral response instead of querying for the authoritative NS RRset, and enabling DNSSEC validation probably fixes it because the referral response lacks signatures, triggering another query. I suspect this is a regression following one of my recent recursor changes.

Originally created by @divergentdave on GitHub (Jul 16, 2025). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3125 I noticed that the recursor returns an empty RRset when queried for NS records. This only happens when DNSSEC validation is disabled. To reproduce, run the `explore` example, and then run `dig @172.19.0.6 +rec NS testing.` in the client container. The problem goes away when passing `--dnssec` to the example. This is probably happening because we are reusing a cached referral response instead of querying for the authoritative NS RRset, and enabling DNSSEC validation probably fixes it because the referral response lacks signatures, triggering another query. I suspect this is a regression following one of my recent recursor changes.
kerem closed this issue 2026-03-16 01:42:47 +03:00
Author
Owner

@divergentdave commented on GitHub (Jul 17, 2025):

I confirmed that this regressed in PR #3043. This is related to #3008.

<!-- gh-comment-id:3084459897 --> @divergentdave commented on GitHub (Jul 17, 2025): I confirmed that this regressed in PR #3043. This is related to #3008.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#1138
No description provided.