-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Device Identifier - DNS-over-TLS and DNS-over-HTTPS #1383
Comments
Oh, interesting idea, I really like it! We could use a different approach, though. We could extend "settings -> clients -> add client" dialog and allow settings this "subdomain" identifier there. This way you don't just identify the device, but you can also have different per-client settings. |
That sounds cool! You could sign me up for beta testing if required 😄 |
I would like to work on this feature, is it possible ? |
@Jbbouille we're going to start working on it soon so I guess we may overlap here |
建议在这个基础上可以增加对不同的域名(客户端)配置不同的拦截模式 |
这有意义,谢谢。 我觉得如果 TLS 证书有一些”SAN“(subject alternative name),我们可能允许用几个域名。 |
Proposed implementation:
|
@ameshkov For the DNS-over-HTTPS currently NextDNS uses: Maybe for AdGuardHome it could be This would make sense with the current routing of DoH. |
@ameshkov i think for DoT, DoQ instead of subdomain it's better to use like nextdns devide-id--domain.tld the "--" let us identify the client without having to create a wildcard certificate (not possible on some configuration with some domain provider) and/or can be messy to generate easily. edit : in my case my dns server is on a dns subdomain with a certificate who cover only the dns, like that if my dns is hacked they can't use the certificate to redirect my other domain (it's my treat model). |
@michaelb-ae |
Merge in DNS/dnsproxy from 1383-quic-session to master Updates AdguardTeam/AdGuardHome#1383. Squashed commit of the following: commit d0d0afa Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 17:29:57 2021 +0300 proxy: add quic session to dns context
Merge in DNS/adguard-home from 1383-client-id to master Updates #1383. Squashed commit of the following: commit ebe2678 Author: Ildar Kamalov <[email protected]> Date: Wed Jan 27 17:51:59 2021 +0300 - client: check if IP is valid commit 0c33058 Author: Ildar Kamalov <[email protected]> Date: Wed Jan 27 17:07:50 2021 +0300 - client: find clients by client_id commit 71c9593 Merge: 9104f16 3e9edd9 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 16:09:45 2021 +0300 Merge branch 'master' into 1383-client-id commit 9104f16 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 13:28:50 2021 +0300 dnsforward: imp tests commit ed47f26 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 12:39:52 2021 +0300 dnsforward: fix address commit 98b222b Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:50:31 2021 +0300 home: imp code commit 4f39665 Merge: 199fdc0 c215b82 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:45:13 2021 +0300 Merge branch 'master' into 1383-client-id commit 199fdc0 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:20:37 2021 +0300 all: imp tests, logging, etc commit 35ff14f Author: Ildar Kamalov <[email protected]> Date: Tue Jan 26 18:55:19 2021 +0300 + client: remove block button from clients with client_id commit 32991a0 Author: Ildar Kamalov <[email protected]> Date: Tue Jan 26 18:54:25 2021 +0300 + client: add requests count for client_id commit 2d68df4 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 15:49:50 2021 +0300 stats: handle client ids commit 4e14ab3 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:45:25 2021 +0300 openapi: fix example commit ca9cf3f Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:37:10 2021 +0300 openapi: improve clients find api docs commit f79876e Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:18:52 2021 +0300 home: accept ids in clients find commit 5b72595 Merge: 607e241 abf8f65 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 18:34:56 2021 +0300 Merge branch 'master' into 1383-client-id commit 607e241 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 18:30:39 2021 +0300 dnsforward: fix quic commit f046352 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 16:53:09 2021 +0300 all: remove wildcard requirement commit 3b67948 Author: Andrey Meshkov <[email protected]> Date: Mon Jan 25 16:02:28 2021 +0300 workDir now supports symlinks commit 0647ab4 Author: Ildar Kamalov <[email protected]> Date: Mon Jan 25 14:59:46 2021 +0300 - client: remove wildcard from domain validation commit b1aec04 Author: Ildar Kamalov <[email protected]> Date: Mon Jan 25 14:55:39 2021 +0300 + client: add form to download mobileconfig ... and 12 more commits
@ameshkov, as I understand it, now we need to properly document it and close the issue? |
@ainar-g well, it kinda is documented already: https://github.com/AdguardTeam/AdGuardHome/wiki/Clients |
Ah, I see. Then the remaining bugs and improvements should probably become separate issues, like #2607. |
@Macqael thx, I've added a note about it to Wiki |
Merge in DNS/adguard-home from 1383-client-id to master Updates AdguardTeam#1383. Squashed commit of the following: commit ebe2678 Author: Ildar Kamalov <[email protected]> Date: Wed Jan 27 17:51:59 2021 +0300 - client: check if IP is valid commit 0c33058 Author: Ildar Kamalov <[email protected]> Date: Wed Jan 27 17:07:50 2021 +0300 - client: find clients by client_id commit 71c9593 Merge: 9104f16 3e9edd9 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 16:09:45 2021 +0300 Merge branch 'master' into 1383-client-id commit 9104f16 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 13:28:50 2021 +0300 dnsforward: imp tests commit ed47f26 Author: Ainar Garipov <[email protected]> Date: Wed Jan 27 12:39:52 2021 +0300 dnsforward: fix address commit 98b222b Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:50:31 2021 +0300 home: imp code commit 4f39665 Merge: 199fdc0 c215b82 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:45:13 2021 +0300 Merge branch 'master' into 1383-client-id commit 199fdc0 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 19:20:37 2021 +0300 all: imp tests, logging, etc commit 35ff14f Author: Ildar Kamalov <[email protected]> Date: Tue Jan 26 18:55:19 2021 +0300 + client: remove block button from clients with client_id commit 32991a0 Author: Ildar Kamalov <[email protected]> Date: Tue Jan 26 18:54:25 2021 +0300 + client: add requests count for client_id commit 2d68df4 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 15:49:50 2021 +0300 stats: handle client ids commit 4e14ab3 Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:45:25 2021 +0300 openapi: fix example commit ca9cf3f Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:37:10 2021 +0300 openapi: improve clients find api docs commit f79876e Author: Ainar Garipov <[email protected]> Date: Tue Jan 26 13:18:52 2021 +0300 home: accept ids in clients find commit 5b72595 Merge: 607e241 abf8f65 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 18:34:56 2021 +0300 Merge branch 'master' into 1383-client-id commit 607e241 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 18:30:39 2021 +0300 dnsforward: fix quic commit f046352 Author: Ainar Garipov <[email protected]> Date: Mon Jan 25 16:53:09 2021 +0300 all: remove wildcard requirement commit 3b67948 Author: Andrey Meshkov <[email protected]> Date: Mon Jan 25 16:02:28 2021 +0300 workDir now supports symlinks commit 0647ab4 Author: Ildar Kamalov <[email protected]> Date: Mon Jan 25 14:59:46 2021 +0300 - client: remove wildcard from domain validation commit b1aec04 Author: Ildar Kamalov <[email protected]> Date: Mon Jan 25 14:55:39 2021 +0300 + client: add form to download mobileconfig ... and 12 more commits
Just migrated to Adguard-Home after hoping from nextdns and pihole. Everything seems to work out of the box, including DNS-over-TLS (standard installation).
While I was with nextdns, I found their device identifier to be a really nifty option where the device could be identified by
identifier-subdomain.domain.com
Was wondering if something similar could be implemented within Encryption Settings with the following possibility:
Example: Google-Pixel-subdomain.domain.com
This way, it would be easier to identify clients queries that were configured to use that particular domain in the DNS-o-TLS section.
The text was updated successfully, but these errors were encountered: