]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.20] fix: test: Set default_aa on AsyncDnsServer to False by default
authorŠtěpán Balážik <stepan@isc.org>
Mon, 5 Jan 2026 13:46:17 +0000 (13:46 +0000)
committerŠtěpán Balážik <stepan@isc.org>
Mon, 5 Jan 2026 13:46:17 +0000 (13:46 +0000)
commit9e7ad999f412b402db5afcfba48fe7d8de64bc28
tree2405daf82a6485794959bc8551502022dae42980
parent40e46b5a1da9b51abd54fda2b5bebe3abac52631
parent6e2fbe7081b2470713ef005f840aefb45e614178
[9.20] fix: test: Set default_aa on AsyncDnsServer to False by default

In !11179 I mistakenly set the default for `default_aa` for
`AsyncDnsServer()` to `True` and then explicitly set it to True in
cases where all the `ResponseHandlers` said
`yield DnsResponseSend(..., authoritative=True)` as if the default was
`False`.

Also the rest of `AsyncDnsServer` code (namely `_prepare_responses`)
reads like `default_aa` is `False` by default.

This accidentally changed the behavior of servers which don't set the
`default_aa` and where AA is not set from the zone data
(e.g. `dispatch/ans3`).

Backport of MR !11419

Merge branch 'backport-stepan/set-asyncdnsserver-dafault-aa-to-false-by-default-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!11426