Email Deliverability Monitoring
Check published sender authentication before a campaign
Check published sender authentication before a campaign. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.
Implementation example by the EdgeDNS team · Updated
The Challenge
Authentication errors can contribute to delivery failures, but inbox placement also depends on message content, sending behavior, and recipient systems.
The Solution
Validate SPF, discover common DKIM selectors (RFC 6376), and review DMARC policy. Add MX health checks for observed SMTP reachability and TLS. DNS publication does not prove that a sent message passes DKIM or DMARC alignment; inspect real message headers and your email provider reports.
Endpoints Used
Combine these EdgeDNS endpoints to build this solution.
/v1/security/spfAPI referenceSPF Check: Validate SPF record syntax, DNS lookups, and policy
/v1/security/dkimAPI referenceDKIM Check: Discover and validate DKIM signing keys
/v1/security/dmarcAPI referenceDMARC Check: Analyze DMARC policy, alignment, and reporting
/v1/dns/txtAPI referenceTXT Records: Get TXT records including verification entries
/v1/score/emailAPI referenceEmail Score: Rate email security (SPF, DKIM, DMARC)
/v1/dns/mxAPI referenceMX Records: Find mail servers and detect email provider
/v1/dns/mx-healthAPI referenceMX Health: Check mail server health and redundancy
What this workflow helps you do
Review published authentication
Collect SPF, DKIM, and DMARC findings before changing sender configuration.
Inspect SMTP evidence
Check probe port, TLS result, and measurement source. A submission-port fallback does not establish inbound relay reachability.
Compare with delivery outcomes
Use sending-platform bounce and complaint data alongside configuration findings.
Code Example
Check published sender authentication before a campaign
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
{
"path": "/v1/security/spf",
"params": {
"domain": "google.com"
}
},
{
"path": "/v1/security/dkim",
"params": {
"domain": "google.com"
}
},
{
"path": "/v1/security/dmarc",
"params": {
"domain": "google.com"
}
}
];
// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
const url = new URL(path, 'https://api.edgedns.dev');
url.search = new URLSearchParams(params).toString();
const response = await fetch(url, { headers });
const result = await response.json();
if (!response.ok) {
throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
}
// Keep the response metadata and any partial/unknown findings for review.
console.log(path, result);
}Learn More
Explore industry standards and best practices related to this use case.
RFC 7489 - DMARC Specification
IETF specification for Domain-based Message Authentication, Reporting, and Conformance
Google Email Sender Guidelines
Google's requirements for email senders including SPF, DKIM, and DMARC authentication
DMARC.org Resources
Official DMARC industry consortium with specification documents and implementation resources
Ready to build Email Deliverability Monitoring?
Get started with 200 free API requests per month. No credit card required.
Other Use Cases
Advanced Email Security Audit
Review BIMI, MTA-STS, and SMTP configuration with email authentication
Product Engineer / Growth EngineerEmail Address Validation & Risk Scoring
Review email address and domain risk during signup
Security Engineer / TPRM / MSPSingle-Call Email Security Posture Review
Collect a combined email authentication and transport-policy snapshot