AdguardTeam / AdguardTeam/AdGuardHome

Discard custom IP range results based on IP-CIDR

未關閉
#6,998 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
feature request
主要語言
TypeScript
星號
36.9k
分支
2.5k
PR 合併指標
30 天內沒有已合併 PR

描述

### 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 IPv4 and IPv6 are from two different operators. Typically, IPv6 is better but there are some exceptions.

For specific IPv6 CIDR Ranges such as `2001:41b8::/32`, `2a04:4e42::/32`, etc. My IPv6 network is worse than IPv4 in QoS and speed (some times 10x slower in speed or latency) for certain domains in my network. Thus I want to exclude DNS results whose AAAA is in this range.

For example, if `example.com` has a `A` record to `1.2.3.4` and `AAAA` record to `2001:41b8::313`, when Chrome queries, AdGuard could only return `1.2.3.4`. (Do not let Chrome "know" AAAA results since I want to exclude this specific IP/CIDR range for AAAA.)

### Proposed solution

Provide a special field such as `ip_cidr_exclusion` for users to exclude specific IP/CIDRs when DNS queries.

For example, if `example.org` resolves to `1.2.3.4` and `5.6.7.8` and I exclude `5.6.7.8/32`, then Chrome would only know `1.2.3.4`.

### Alternatives considered and additional information

I read the docs and discussions; it seems that this feature does not exist. I apologize for my any possible mistakes.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。