AdguardTeam / AdguardTeam/AdGuardHome

Specific upstream for specific type.

Ouverte
#4,489 0 commentaires 3 réactions 0 personnes assignées Voir sur GitHub
feature request
Langage dominant
TypeScript
Étoiles
36.9k
Forks
2.5k
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.