cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Mail → Validate DMARC records

AI-generated

Summary

Validate DMARC records for one or more specified domains by sending their domain names to the WHM API and retrieving validation results.

Inputs

  • Domain (required) — Specify the domain name whose DMARC record you want to validate. To validate multiple domains, provide multiple parameters with incremented names (e.g., domain-1, domain-2). If no domain is specified, the system attempts a default validation.

Output shape

A response object containing the DMARC validation results for each specified domain.

Supports validation of multiple domains by using multiple domain parameters. The operation returns the raw response from the WHM API regarding DMARC record validation, which may include success/failure statuses and error messages if any. Errors in the API response are surfaced as operation errors.

Examples

Example 1: Validate a single domain's DMARC record

Provide the domain name parameter with a single domain to check its DMARC record validity.

Example 2: Validate multiple domains' DMARC records

Duplicate or increment the domain parameters (e.g., domain-1, domain-2) to check multiple domains in one operation.

Links

Discussion