Get DNS Mail Information
This documentation helps you retrieve DNS mail-related information for a given domain. The response contains mail-related DNS record details.
Further Reading: Retrieving DNS Mail Information
To retrieve mail-specific DNS details for a domain, make a request to the following API endpoint:
GET https://api.ricardoneud.com/v1/tools/mailcheck
Request Headers:
Header | Type | Required | Description |
---|---|---|---|
Authorization | string | ✅ | Bearer token with a valid API key |
Domain | string | ✅ | The domain of the DNS you want to check |
DKIM-Selector | string | ❌ | Identifies the DKIM key for signing emails. |
Example Response
The response will contain mail-related DNS records for the domain:
Example:
{ "domain": "example.com", "spf": "v=spf1 -all", "dmarc": "v=DMARC1;p=reject;sp=reject;adkim=s;aspf=s", "dkim": "Valid DKIM record found for selector x._domainkey: v=DKIM1; p=", "mx": "(priority 0)", "ptr": "a23-192-228-84.deploy.static.akamaitechnologies.com", "bimi": "BIMI record missing or invalid", "google_verification": "Domain is not verified by Google"}
Fields in the Response:
- domain: The domain that the DNS records belong to.
- spf: The SPF record for the domain.
- dmarc: The DMARC policy for the domain.
- dkim: The DKIM record status for the domain and selector.
- mx: The mail exchange record for the domain.
- ptr: The PTR record (reverse DNS) for the domain.
- bimi: The BIMI record status.
- google_verification: Google domain verification status.