AdguardTeam / AdguardTeam/AdGuardHome

Support custom DNS of HTTPS records (type 65)

Đang mở
#7,916 0 bình luận 2 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.