AdguardTeam / AdguardTeam/AdGuardHome

Add a domain resolve test tool

Đang mở
#7,540 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
feature request
Ngôn ngữ chính
TypeScript
Star
36.9k
Fork
2.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

As of version v0.107.55, AdGuard Home does not have a domain resolve tool on its web page.

Although we can use other DNS query tools, such as nslookup or dig, to check the result of the queries, we always want more information of AdGuard Home as DNS server, such as if the questioned domain is blocked, or in user's custom filter list, etc. These extra info is very useful for debugging or checking AGH.

### Proposed solution

Add a domain resolve test tool somewhere at AdGuard Home web page that user can input a domain name and optional "client (from persistent clients)", tap on button "Resolve Test", AdGuard Home then queries the domain name, following the generic rule or as a request from one of Persistent clients, and prints result:

- if the domain name is blocked, also prints out the first blocklist that blocks the domain name (or maybe all blocklists that have this domain name blocked), or the first custom filter rule that blocks it;
- if the domain name is successfully queried, also prints the upstream DNS server, and the DNS rewrite rule if it's rewritten, and the allowlist if it's allowed from that list;
- if the domain name query failed, also prints reason (offline from the internet, upstream server times out, or upstream server reports "unknown domain name", etc.)

### Alternatives considered and additional information

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.