AdguardTeam / AdguardTeam/AdGuardHome

Specific upstream for specific type.

Aperta
#4,489 0 commenti 3 reazioni 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

### Problem Description
As we know, AdGuardHome can set specific upstream for specific domains, but sometimes we need specify upstream for a specific type. For example, we have IPv4 and IPv6 connections, but from different ISP, so we can set specific upstream for A/AAAA to improve our network. Another example, we use something like HE tunnel or Cloudflare WARP to get IPv6 connection, we can also set specific upstreams for them :)

### Proposed Solution
Add a feature to **DNS settings** allow user specify upstream for a specific type, just like specific upstream for specific domains now:

```
[/example.local/]94.140.14.140
```

Of course, doing this also requires making sure that it also works correctly in `upstream_dns_file`.

### Alternatives Considered

Add a feature to **Custom filtering rules** allow user specify upstream for a specific rule, just like return empty answer to a specific type now:

```
*$dnstype=A,dnsrewrite=NOERROR
```

Doing this requires making sure it works with other [AdBlock-Style Syntax](https://github.com/AdguardTeam/AdGuardHome/wiki/Hosts-Blocklists#adblock-style-syntax).

### Additional Information

I have checked the issue and discussion but found no relevant information. If there is already something about it, so sorry and I would love to be informed. If the above proposal is not feasible, it is also welcome to point out.

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.