{
"type": "domain.dns_error",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2024-05-06T12:59:46.404433272Z",
"data": {
"domain": "example.com",
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"spf_valid": false,
"dkim_valid": false,
"dmarc_valid": false,
"dns_last_checked_at": "2024-05-06T12:59:46.404433312Z"
}
}Domain Events
domain.dns_error Webhook Event
The domain.dns_error webhook fires when AhaSend’s DNS checks find SPF, DKIM or DMARC problems that block sending on your domain. Payload and resolution.
WEBHOOK
domain.dns_error
{
"type": "domain.dns_error",
"webhook_id": "abe11757-2886-4b55-96f1-0e0afc95795a",
"timestamp": "2024-05-06T12:59:46.404433272Z",
"data": {
"domain": "example.com",
"account_id": "4cdd7bdd-294e-4762-892f-83d40abf5a87",
"spf_valid": false,
"dkim_valid": false,
"dmarc_valid": false,
"dns_last_checked_at": "2024-05-06T12:59:46.404433312Z"
}
}AhaSend automatically checks your domain’s DNS configuration every 15 to 30 minutes and sends this webhook if any severe issues are detected that will prevent the system from sending emails on your domain’s behalf.
Triggered when DNS configuration issues are detected for any domain in your account.
Common DNS issues:
- Missing or invalid SPF record
- Missing or invalid DKIM record
- Missing or invalid DMARC record
- DNS propagation delays
Related Guides
- API authentication, Permission scopes, Webhook setup.
- Event reference, Webhook CLI, Local webhook testing.
- Signature verification, Retry policy, API errors.
- API rate limits.
Body
application/json
The event type
Available options:
domain.dns_error The webhook ID (the same ID as returned by the Create Webhook API)
When the event occurred (ISO 8601 format)
Show child attributes
Show child attributes
Response
Webhook received successfully

