Re:Bizarre and Unusual Uses of DNS
by d110af5ccf on Saturday February 25, 2023 @11:04PM
(#34942921)
Perhaps a solution such as dnscrypt-proxy and configuring it to forward requests that match certain patterns to a validating resolver on the local network would work? Requests that didn't match could be forwarded to some other resolver that wasn't configured to validate.
There should be an option for "validate but still return invalid data, just reflect validity in the AD bit". Is there?
That way most things will still work even DNSSEC is broken, and apps with higher security requirements can opt-in to "fail if invalid", by passing setting the AD bit on queries, and checking if it is still there on responses.
I believe that is DNSSEC=allow-downgrade which is also the default.
I thought “allow-downgrade” meant it would return unsigned data, but not invalidly signed data? I was talking about the latter case not the former.
*: this is the definition of "work" that also means it won't resolve anything if anything is wrong with DNSSEC validation, but if you want to be secure you need it to fail closed.