validate_domain
Check domain structure and validate its TLD against the IANA list to reject invalid labels and made-up suffixes.
Instructions
USE THIS to verify a domain name's structure AND that its TLD is a real IANA-delegated suffix — instead of assuming a domain is legitimate. Catches invalid labels and made-up TLDs (e.g. example.corp). Returns the TLD and whether it is known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The domain name, e.g. 'example.com'. |