]> git.ipfire.org Git - thirdparty/bind9.git/commit
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)
commit42799ae81fc78db2f20171d5eba51fc326785a61
tree8c3af024efd7220902b234c1bd24cf4b5c1b78cf
parent3397212df35c2181c087639ea7237a05e5627f1c
parentde519cd1c90786f6c3672d6f14b3ea4fdde8723f
fix: usr: QNAME minimization could leak the query type

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