AdguardTeam / AdguardTeam/AdGuardHome
Prefer IPv4/6. However, it does not affect the resolution of pure IPv6/4 domain names.
- Langage dominant
- TypeScript
- Étoiles
- 36.9k
- Forks
- 2.5k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
### 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_
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.