AdguardTeam / AdguardTeam/AdGuardHome

Support custom DNS of HTTPS records (type 65)

Aberta
#7,916 0 comentários 2 reações 0 responsáveis Ver no GitHub
feature request
Linguagem predominante
TypeScript
Estrelas
36.9k
Forks
2.5k
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### Prerequisites

- [x] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer

- [x] I have searched other issues and found no duplicates

- [x] I want to request a feature or enhancement and not ask a question

### The problem

HTTPS DNS records are used to [optimize HTTP/2 and HTTP/3 negotiation](https://blog.cloudflare.com/speeding-up-https-and-http-3-negotiation-with-dns/) by avoiding the initial HTTP/1.1 connection and upgrade.

Also, HTTPS DNS records are used to provide the browser the necessary information to perform [ECH](https://blog.cloudflare.com/announcing-encrypted-client-hello/).

But AdGuard Home as a DNS server does not support setting up custom HTTPS records.

Example from Cloudflare:

```console
❯ dig @1.1.1.1 +noall +answer HTTPS ha.example.com
ha.example.com. 300 IN HTTPS 1 . alpn="h3,h2" ipv4hint=104.21.48.163,172.67.154.87 ech=AEX+DQBBpQAgACAo1VXPVZoBNQH+r7Xx4cE2TFt+XEXS6smGpAsvxZkcIgAEAAEAAQASY2xvdWRmbGFyZS1lY2guY29tAAA= ipv6hint=2606:4700:3032::6815:30a3,2606:4700:3033::ac43:9a57
```

Note that this feature has been [recently added to OpenWRT](https://github.com/openwrt/luci/commit/9aeb34549f76f7cccd836a27012e2c61ae33805a).

### Proposed solution

I would like to configure custom DNS rewrites in AdGuard Home so that:

```console
❯ dig @192.168.1.10 +noall +answer HTTPS ha.example.com
ha.example.com. 0 IN HTTPS 1 ha.example.com. alpn="h3,h2" ipv4hint=192.168.1.10
```

### Alternatives considered and additional information

The alternative is to put OpenWRT in front of AdGuard Home and make it so OpenWRT handles these local addresses and forwards everything else to AdGuard Home.

The downside is that I need to handle two DNS servers, and AdGuard Home will only ever show one client, which is OpenWRT itself.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.