]> git.ipfire.org Git - thirdparty/bind9.git/commit
Set default_aa on AsyncDnsServer to False by default
authorŠtěpán Balážik <stepan@isc.org>
Fri, 2 Jan 2026 18:05:33 +0000 (19:05 +0100)
committerŠtěpán Balážik <stepan@isc.org>
Mon, 5 Jan 2026 12:27:57 +0000 (13:27 +0100)
commitdc58c7326499dab241450b8bb2c0f16df486a3e2
treeab25fd6bff063ff678aa8227afc581a59fc3404b
parent812d069e262759894d81f5384b43613b78b71b61
Set default_aa on AsyncDnsServer to False by default

In 6e684d44 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`).
bin/tests/system/isctest/asyncserver.py