Validate domains' DMARC records

This function checks the validity of the current DMARC record for one or more domains.

SecurityBasicAuth
Request
query Parameters
domain
string <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.

Examples:
domain=domain=example.com,domain=another.com,domain=yetanother.com
domain=domain=example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/EmailAuth/validate_current_dmarcs
Request samples
uapi --output=jsonpretty \
  --user=username \
  EmailAuth \
  validate_current_dmarcs \
  domain='example.com'
Response samples
application/json
{
  • "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;"
        }
      ],
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}