resolved: enable CD bit without DO set
authorRonan Pigott <ronan@rjp.ie>
Sat, 19 Oct 2024 04:10:57 +0000 (21:10 -0700)
committerRonan Pigott <ronan@rjp.ie>
Sat, 19 Oct 2024 04:21:35 +0000 (21:21 -0700)
commit36074e01499ea4fc89a0c642cef83bd650014e5a
treec0ca261b2f3a22a15f735b03e2ac1bc45c9be152
parent008f23b7c5f255e48c71c3b4da74a85448667817
resolved: enable CD bit without DO set

This is useful for a validating resolver to indicate to a non-validating
resolver when checking was disabled for the query. This matches the
behavior of the major public resovlers in response to queries with CD bu
tnot DO set.
src/resolve/resolved-dns-stub.c