AdguardTeam / AdguardTeam/AdGuardHome

Add a domain resolve test tool

Ouverte
#7,540 5 commentaires 1 réaction 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

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

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.