Reference & API

DSend Documentation

Learn how DSend scores domain health, evaluates all 7 DNS and RDAP checks, prevents alert fatigue with the two-consecutive-failure rule, and exposes fleet automation via our REST API.

Health Score Formula

Every monitored domain starts at a baseline score of 100. Each active non-passing check deducts points based on severity, clamped to 0..100:

Critical
-40 pts
High
-20 pts
Medium
-10 pts
Info / Error
0 pts
Important: Upstream DNS resolver timeouts or network errors are recorded with status error and deduct 0 points, ensuring temporary network hiccups never distort your fleet health score.

7 Check Specifications

Every domain check cycle executes these seven diagnostics in parallel.

MXCritical / High

MX Records

Resolves MX records and verifies each mail exchanger host.

Triggers: Missing MX record, Null MX (0 .), MX pointing to a CNAME (RFC 2181/5321 violation), or unresolvable target hostnames.
SPFCritical / High

SPF (10-Lookup Recursion)

Parses v=spf1 TXT records and recursively traverses include:, a, mx, ptr, exists, and redirect= mechanisms.

Triggers: Missing SPF record, multiple v=spf1 records, syntax errors, >10 DNS-querying mechanisms (RFC 7208 PermError), or +all open relay.
DKIMHigh / Medium

DKIM Key & Revocation

Queries <selector>._domainkey.<domain> TXT records for configured or common provider selectors.

Triggers: Missing selector record, empty p= tag (revoked key), or RSA public key shorter than 1024 bits.
DMARCHigh / Medium

DMARC Alignment

Evaluates _dmarc.<domain> TXT records for policy enforcement and reporting configuration.

Triggers: Missing DMARC record, p=none (monitoring only, flagged as warning), missing rua= aggregate reporting URI, or invalid tag syntax.
DNSBLCritical

Unbound DNSBL Blacklist

Queries major reputation blocklists (Spamhaus ZEN, SpamCop, Barracuda) over dedicated unbound resolvers.

Triggers: Domain or sending MX IP listed on any monitored DNSBL zone.
EXPIRYCritical / High

RDAP Domain Expiry

Queries authoritative RDAP registrar endpoints for domain expiration timestamps.

Triggers: Domain expiring within 30 days (Warn / High) or within 7 days / already expired (Fail / Critical).
NSMedium

Nameservers (NS)

Verifies authoritative NS delegation records and minimum nameserver redundancy.

Triggers: Fewer than 2 authoritative nameservers, unresolvable NS hosts, or delegation timeouts.

Two-Consecutive-Failure Alerting Rule

To eliminate false-positive pages caused by transient UDP DNS packet drops or propagation delays, DSend tracks consecutive_failures per domain and check kind:

  1. 1First failure: Check state is updated and logged in history, consecutive_failures = 1. No alert is dispatched yet.
  2. 2Second consecutive failure: Incident event opens and alerts dispatch to matching Email and Slack channels (respecting min_severity and client rules) with a copy-paste DNS fix record.
  3. 3Recovery: As soon as a subsequent check returns pass, the open incident resolves and an automatic recovery notification is sent.

Role-Based Access Control (RBAC)

Invite team members or client stakeholders with least-privilege roles.

RoleDomains & ChecksAlerts & RulesTeamBilling & Keys
OwnerFull access (create, edit, bulk CSV, delete)Manage channels & rulesInvite, change roles, remove membersManage subscription, API keys & org settings
AdminFull access (create, edit, bulk CSV, delete)Manage channels & rulesInvite & manage non-owner membersManage API keys & org settings
MemberAdd, pause, and trigger checks on domainsView channels & delivery logsView team rosterRead-only
ViewerRead-only fleet & check historyView incidents & delivery logsView team rosterNo access

REST API Reference

Generate a scoped API key under Settings → API Keys and pass it via Authorization: Bearer dp_live_... for authenticated endpoints.

1. Run an instant public check (POST /v1/public/check)

POST /v1/public/check
curl -sS -X POST https://dsend.sendpilots.com/v1/public/check \
  -H "Content-Type: application/json" \
  -d '{"domain": "example.com"}'

2. List monitored domains (GET /v1/domains)

GET /v1/domains
curl -sS https://dsend.sendpilots.com/v1/domains \
  -H "Authorization: Bearer dp_live_your_api_key_here"

3. Add a domain to your fleet (POST /v1/domains)

POST /v1/domains
curl -sS -X POST https://dsend.sendpilots.com/v1/domains \
  -H "Authorization: Bearer dp_live_your_api_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "outreach.acme-mail.io",
    "dkim_selectors": ["google", "s1"],
    "interval_secs": 3600
  }'