check_domain
Check whether a NextDNS profile blocks or allows a domain and why, including matching denylist or allowlist entries. Use when a site won't load or should be blocked.
Instructions
Check whether a domain is blocked by a profile, and why: BLOCKED (with the reason), ALLOWED (with its addresses) or no such domain, plus any matching denylist or allowlist entry and the list_entries call that would change it. Use it when a site doesn't load or should be blocked; use logs or watch_logs for what devices really did. Changes no settings, but makes a real DNS query through the profile, which shows in its log and analytics, and takes a few seconds; a change made a moment ago may not show yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain to check, like tiktok.com. A link is cut down to its domain. | |
| profile | No | The profile's ID or name. Leave empty for the only profile, or the default one. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |