Domain WHOIS, DNS and email audit
lookup_domainRetrieve WHOIS, DNS records, and SPF/DMARC email-security checks for a domain to profile web infrastructure or assess email posture.
Instructions
WHOIS plus DNS records (A, MX, NS, TXT) and an SPF/DMARC email-security audit for a domain. Use it to profile a company's web estate or check its email posture. include_dns and include_security toggle the two halves.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Domain name to look up (e.g. 'example.com'); a URL is reduced to its host. | |
| include_dns | No | Include DNS records (A, AAAA, MX, NS, TXT, SOA); default true. | |
| include_security | No | Include the SPF/DMARC email-security check; default true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | Records by type: A, AAAA, MX, NS, TXT, SOA. | |
| error | No | Set only when there is no answer (empty_query, invalid_cui, data_unavailable, plan_required ...); such a call is not counted. | |
| whois | No | registrar, creationDate, expirationDate, updatedDate, nameServers, registrantOrg, registrantCountry. | |
| domain | No | The normalised domain. | |
| message | No | A sentence for the caller. | |
| security | No | hasSPF, spf, hasDMARC, dmarc. | |
| resolvedIP | No | An address the domain resolves to. |