AdguardTeam / AdguardTeam/AdGuardHome

Prefer IPv4/6. However, it does not affect the resolution of pure IPv6/4 domain names.

オープン
#5,919 コメント 12 件 リアクション 3 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

prefer_ipv4 and prefer_ipv6 are two operations. In the following, for the convenience of expression, only prefer_ipv4 is taken as an example. prefer_ipv6 is the same.
prefer_ipv4 Allows downstream clients to use IPv4 first when they support dual-stack. When prefer_ipv4 processes an AAAA request, it will automatically send an A request to test whether the domain name is dual-stack, and the newly generated A request will continue to execute subsequent rules together with the original AAAA request. If both A and AAAA requests get IP (the domain name is dual-stack) at last, the original AAAA request will be blocked.

### Proposed solution

@ainar-g
reference https://irine-sistiana.gitbook.io/mosdns-wiki/mosdns-v5/ru-he-pei-zhi-mosdns/sequence-cha-jian#prefer_ipv4-6

### Alternatives considered and additional information

_No response_

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。