[Enhancement] Implement RFC 8914 to deal with failed DNS queries #2143
jean-christophe-manciot
started this conversation in
Ideas
Replies: 3 comments 2 replies
-
Do actual resolvers send extended error codes yet? My impression is that like the vast majority of DNS-related RFCs, it just exists as a document. |
Beta Was this translation helpful? Give feedback.
0 replies
-
In my knowledge:
|
Beta Was this translation helpful? Give feedback.
2 replies
-
Quad9 and Cloudflare seem to support it -- A query for But Unbound doesn't support it. Not sure what open source software does. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This proposal tries to fix the way the stub resolver dnscrypt-proxy (DCP) deals with situations where one DNS resolver cannot answer positively to a DCP query.
So far, the algorithm DCP uses to deal with failed DNS queries is based on:
The DNS resolver may return a RCODE=2 to a query called
SERVFAIL
and meaningServer failure - The name server was unable to process this query due to a problem with the name server
. This answer is too broad to help DCP determine with certainty what is the cause of the failed DNS query, in order to take the appropriate action.The same failed resolver can be tried by DCP several times in a row as shown by this post, or all reachable resolvers can be tried as shown by this post. This inconsistent, unpredictable and sub-optimal strategy may have some undesirable effects, including the inability to resolve an address which was resolvable by one of the resolvers but not all of them.
My proposal is to implement the RFC 8914: Extended DNS Errors published 2 years ago with the designed goal of precisely deal with this type of situation.
This will allow DCP to implement a predictable, consistent and optimal algorithm to deal with failed DNS queries.
If DCP does not implement RFC 8914, it will become irrelevant eventually.
@lifenjoiner
@livingentity
@maage
@alisonatwork
@ianbashford
Beta Was this translation helpful? Give feedback.
All reactions