Check a host against AdGuard filters
adguard_check_hostCheck whether AdGuard Home would filter a domain and identify the matching rule and filter list without sending a DNS query.
Instructions
Check whether AdGuard Home would filter a domain, and by which rule and list.
Calls GET /control/filtering/check_host?name=<name> on the AdGuard Home
add-on and resolves each matched rule's filter_list_id to the list
name from filtering/status (0 = custom rules, negative ids = built-in
sources such as blocked services or safe browsing). Sends no DNS query
and changes nothing.
Use when: explaining why a domain is blocked or allowed.
Not for: the full filtering setup — use adguard_get_config.
Returns: AdGuard's answer (reason, rules, service_name, cname,
ip_addrs) plus name, blocked (true when reason starts with
Filtered) and filter_name on each rule.
Errors: invalid_name for an empty or malformed domain; the add-on
lookup errors of adguard_get_config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name to check, e.g. `ads.example.com` (no scheme, path or port). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||