-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for DDR - (Discovery of Designated Resolvers) #4463
Comments
We should definitely add support of DDR to AGH, this is a trivial change. |
You guys are awesome 👍 |
@gspannu, you can actually already use parts of the DDR spec draft in AdGuard Home today. Using the custom rule:
You can already generate a response like that mentioned in the RFC: env RRTYPE=SVCB dnslookup '_dns.example.net' "$MY_AGH_ADDR"
The DoH part of the spec isn't properly supported yet, because our parser ignores the We'll think about the best way to implement this out-of-the-box for AGH v0.108.0, since that probably will require a configuration change. |
I presume the final solution in v0.108 would fully support
In addition (as a feature request) are you looking to add a command option to your excellent program |
From what I've read here (https://blogs.cisco.com/networking/improving-dns-security-while-preserving-resiliency), this appears to be a way for connecting clients to know whether they can connect via DoT or DoH instead of regular DNS to the same DNS server. This does not affect how DNS server resolves queries. |
Apologies, if was not clear. I meant that if a user had enabled DoT, DoH and QUIC in the encryption tab - then the AGH server should report back all 3 types - when any client requests for this information. The other bit about dnslookup was a feature request to add a command line parameter like |
Oh good, I misunderstood you then. I haven't gone through the draft, but if it's supported, it can probably be done. |
We'll close this issue for now. Please feel free to report new issues with the feature on the beta channel. |
It seems, the priority of returned SVCB records is constant for each supported protocol, so if the DoH server is down and DoT/DoQ is up, the priority numbers won't begin with |
Merge in DNS/adguard-home from 4463-ddr-prior to master Updates #4463. Squashed commit of the following: commit 30b470a Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Jun 20 17:33:56 2022 +0300 dnsforward: imp docs commit 1ba099c Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Jun 20 17:12:46 2022 +0300 dnsforward: imp ddr priority
@gspannu, just as an FYI, we have released this feature in v0.107.10. |
I wanted to check the DDR support by the DNS resolver, such as 1.1.1.1 import dns.resolver resolver = dns.resolver.Resolver() svc_query = "_dns.resolver.arpa" for rdata in response: This code shows the output as - Just by seeing "h2" and "dot" support, can I conclude that the resolver 1.1.1.1 supports DDR? |
It does. Note, that AGH supports DDR as a DNS server, not as a DNS client. |
Thank you @ameshkov for your response.
|
Updates AdguardTeam#4463. Squashed commit of the following: commit 047155b Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon May 30 15:34:38 2022 +0300 dnsforward: imp code commit b0508ff Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon May 30 15:27:02 2022 +0300 dnsforward: fix ddr target
Merge in DNS/adguard-home from 4463-ddr-prior to master Updates AdguardTeam#4463. Squashed commit of the following: commit 30b470a Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Jun 20 17:33:56 2022 +0300 dnsforward: imp docs commit 1ba099c Author: Eugene Burkov <E.Burkov@AdGuard.COM> Date: Mon Jun 20 17:12:46 2022 +0300 dnsforward: imp ddr priority
Feature Request - AGH to support Discovery of Designated Resolvers (DDR)
With all of the new methods for DNS encryption, clients need an automated means to discover what encryption methods their chosen DNS resolver supports.
Any plans for AdGuard Home to support this in future builds?
The text was updated successfully, but these errors were encountered: