Check DNS Records for Domain#
This endpoint allows you to check the DNS records for a specified domain to ensure they are correctly configured.Endpoint#
Request Body#
Name | Type | Description |
---|
domainIds | array | An array of domain IDs for which DNS records should be checked. |
Example Request#
{
"domainIds": ["domainId1", "domainId2"]
}
Request Code Samples
curl --location --request POST 'https://api.zapmail.ai/api/v2/domains/dns/check' \
--header 'x-auth-zapmail: '
Responses
application/json {
"status": 200,
"message": "Dns checked",
"data": [
{
"id": "8d4ea245-715a-403e-be54-3f74ac3924bc",
"domain": "abc.com",
"spfRecord": false,
"dmarcRecords": true,
"dkimRecords": false,
"mxRecords": true
},
]
}
Modified at 2025-01-30 13:12:25