AdguardTeam / AdguardTeam/AdGuardHome

dns ipv4/ipv6 resolution result prioritization function

Aperta
#6,812 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
feature request
Lingua principale
TypeScript
Stelle
36.9k
Fork
2.5k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

My internet carrier provides ipv4 & ipv6 addresses, and I have ipv6 resolution enabled on adguardhome, and my fill-in dns provider supports ipv4 & ipv6 resolution;
But the current adguardhome policy, if a domain has an ipv6 address, it will prioritize ipv6 and ignore ipv4;
In my area, the ipv6 network construction is not too healthy, if the data goes to ipv6 network, its access latency will be much higher than ipv4, but I don't want to turn off ipv6 resolution on my adguardhome.

### Proposed solution

Is it possible to provide such a switch when ipv6 resolution is turned on on adguardhome;
"Prioritize the ipv4 address in the domain resolution address (if it has both ipv4 and ipv6 addresses)"
When this switch is turned on, it will first query if the address has an ipv4 address, if it does it will be responsible for directly accessing the ipv4 address of the domain name, if it doesn't then continue to query if it has an ipv6 address;

### Alternatives considered and additional information

_No response_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.