[GH-ISSUE #3171] Send fewer records in response to ANY queries #1148

Closed
opened 2026-03-16 01:43:56 +03:00 by kerem · 0 comments
Owner

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

RFC8482 suggests various ways to send less records in response to ANY queries. Adopting this would remove a possible DoS vector, and allow us to simplify the LookupRecords enum, making it less coupled to internal implementation details of InMemoryAuthority. Since the behavior of the ANY pseudo-type is so ill-defined, this change would also be compliant with earlier specifications.

Originally created by @divergentdave on GitHub (Jul 31, 2025). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/3171 [RFC8482](https://datatracker.ietf.org/doc/html/rfc8482) suggests various ways to send less records in response to ANY queries. Adopting this would remove a possible DoS vector, and allow us to simplify the `LookupRecords` enum, making it less coupled to internal implementation details of `InMemoryAuthority`. Since the behavior of the ANY pseudo-type is so ill-defined, this change would also be compliant with earlier specifications.
kerem closed this issue 2026-03-16 01:44:02 +03:00
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#1148
No description provided.