EmailAuth
Email DNS Settings
Validate domains' DMARC records
This function checks the validity of the current DMARC record for one or more domains.
get/EmailAuth/validate_current_dmarcs
Query parameters
domainstring domain
The domain for which to check the DMARC record.
Note:
If you do not include this argument, the system will validate DMARC records for all domains owned by the user.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "validate_current_dmarcs",
"module": "EmailAuth",
"result": {
"data": [
{
"domain": "example.com",
"error": "(XID 4krw35) DNS returned SERVFAIL (code 2)\nin response to the system's query for _dmarc.example.com\nTXT records.",
"record": "v=DMARC1; p=none;",
"state": "VALID",
"subdomain": "_dmarc.example.com",
"suggested": "v=DMARC1; p=none;"
}
],
"status": 1
}
}