whois_lookup
Perform a WHOIS lookup to retrieve registration details like registrar, expiry dates, nameservers, and contact info for a given domain or IP address.
Instructions
Perform a WHOIS lookup for a domain or IP address.
Queries WHOIS databases to retrieve registration information including registrar, creation/expiry dates, nameservers, and contact details.
Args: target: Domain name (e.g. "example.com") or IP address.
Returns: WHOIS registration data including registrar, dates, nameservers, and contacts.
Note: - Uses python-whois library (no subprocess, no shell injection risk). - Some registrars rate-limit WHOIS queries — be mindful of frequency. - Target must be in tengu.toml [targets].allowed_hosts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||