latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Mail
Mail DNS Settings

Get the server's default DMARC record

This function retrieves the server's default DMARC record.

The system uses the default DMARC record when creating new accounts or applying DMARC policies that don't specify a custom record.

get/get_default_dmarc_record

Response

HTTP Request was successful.

Example response

{
  "data": {
    "payload": {
      "record": "v=DMARC1; p=none;"
    }
  },
  "metadata": {
    "command": "get_default_dmarc_record",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}