AdguardTeam / AdguardTeam/AdGuardHome

Specific upstream for specific type.

オープン
#4,489 コメント 0 件 リアクション 3 件 担当者 0 名 GitHub で見る
feature request
主要言語
TypeScript
スター
36.9k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。