AdguardTeam / AdguardTeam/AdGuardHome

Specific upstream for specific type.

Abierto
#4,489 0 comentarios 3 reacciones 0 asignados Ver en GitHub
feature request
Lenguaje dominante
TypeScript
Estrellas
36.9k
Forks
2.5k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.