]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix: usr: QNAME minimization could leak the query type
authorMark Andrews <marka@isc.org>
Fri, 14 Mar 2025 02:02:52 +0000 (02:02 +0000)
committerMark Andrews <marka@isc.org>
Fri, 14 Mar 2025 02:02:52 +0000 (02:02 +0000)
When performing QNAME minimization, `named` now sends an NS query for the original query name, before sending the final query. This prevents the parent zone from learning the original query type, in the event that the query name is a delegation point.

For example, when looking up an address record for `example.com`, NS queries are now sent to the servers for both `com` and `example.com`, before the address query is sent to the servers for `example.com`.  Previously, an address query would have been sent to the servers for `com`.

Closes #4805

Merge branch '4805-missing-qname-ns-query-when-using-qname-minimisation' into 'main'

See merge request isc-projects/bind9!9155


Trivial merge