# DNS: Check

Perform a DNS validation of a sender domain. The Mailjet API will check for a TXT record in the domain's DNS zone file. More information To obtain a valid dns_ID, first call GET /v3/REST/dns to list your domains.

Endpoint: POST /v3/REST/dns/{dns_ID}/check
Version: 1.0.0
Security: basicAuth

## Path parameters:

  - `dns_ID` (integer, required)
    Unique numeric ID of the DNS settings of the sender domain you want to validate.
    Example: 11000

## Response 201 fields (application/json):

  - `Count` (integer)
    Indicates the number of objects in the Data array.

  - `Data` (array)
    A JSON array containing a list of objects returned by this endpoint.

  - `Data.DKIMErrors` (string)
    DKIM configuration errors found for this domain.

  - `Data.DKIMRecordCurrentValue` (string)
    Mailjet's DKIM record found for this domain.

  - `Data.DKIMStatus` (string)
    DKIM configuration status.

Possible values:

- OK
- Error

  - `Data.SPFErrors` (string)
    SPF configuration errors found for this domain.

  - `Data.SPFRecordCurrentValue` (string)
    Mailjet's SPF record found for this domain.

  - `Data.SPFStatus` (string)
    SPF configuration status.

Possible values:

- OK
- Error

  - `Total` (integer)
    Indicates the number of objects in the Data array.


## Response 400 fields

## Response 401 fields

## Response 403 fields

## Response 404 fields

## Response 429 fields

## Response 500 fields
