# DNS List

Retrieve the SPF and DKIM settings for all sender domains on this API Key. The information will help you configure your SPF and DKIM settings on the respective domain, before running a DNS check with /dns/{dns_id}/check to validate it and complete the SPF and DKIM authentication.

Endpoint: GET /v3/REST/dns
Version: 1.0.0
Security: basicAuth

## Query parameters:

  - `IsCheckInProgress` (boolean)
    When true, will retrieve only DNS records, where a validation check was initiated and is in progress. When false, DNS records where a check is in progress will be excluded from the response.

  - `IsSenderIdentified` (boolean)
    Retrieves DNS records where IsSenderIdentified matches the specified value.

  - `IsYahooFBL` (boolean)
    Retrieves only DNS records where a Yahoo Feedback loop has been setup. Contact the Mailjet Support team to set up the feedback loop.

  - `MaxLastCheckAt` (string)
    Retrieves only DNS records where the last check was performed before this timestamp. Both Unix timestamp (e.g. 1514764800) and RFC3339 (2018-01-01T00:00:00) formats are accepted.

  - `MinLastCheckAt` (string)
    Retrieves only DNS records where the last check was performed after this timestamp. Both Unix timestamp (e.g. 1514764800) and RFC3339 (2018-01-01T00:00:00) formats are accepted.

  - `SPFStatus` (string)
    Retrieves only DNS records where the last domain SPF configuration check resulted in the specified status.

Possible values:

- OK
- Error
- Not checked
- Not found

## Response 200 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.DKIMRecordName` (string)
    Name of the DNS DKIM record to insert for this domain.

  - `Data.DKIMRecordValue` (string)
    Value to insert in the DNS DKIM record for this domain.

  - `Data.DKIMStatus` (string)
    The status of the last domain DKIM configuration check.

Possible values:

- OK
- Error
- Not checked

  - `Data.Domain` (string)
    The name of the domain linked to this DNS record.

  - `Data.ID` (integer)
    Unique numeric ID for this DNS record.

  - `Data.IsCheckInProgress` (boolean)
    Indicates whether there is a check in progress for this domain or not.

  - `Data.LastCheckAt` (string)
    Timestamp for the last check performed for this domain.

  - `Data.OwnerShipToken` (string)
    Value of the token to verify the ownership of the domain.

  - `Data.OwnerShipTokenRecordName` (string)
    Value to use when configuring the TXT record (DNS) verification for the domain.

  - `Data.SPFRecordValue` (string)
    Value to insert in the DNS SPF record for this domain.

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

Possible values:

- OK
- Error
- Not checked
- Not found

  - `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
