SPF 10-Lookup Flattening: SPFGuard vs. EasyDMARC vs. dmarcian

Should you delegate live SPF resolution to a third-party DNS host or flatten recursive includes deterministically inside your GitOps / GitHub Actions pipeline? A technical trade-off analysis under RFC 7208 & RFC 8461.

⚡ 1-Click Live Diagnostic • Zero Login • <1.5s Edge Execution

Run a Live Deterministic Check Right Now

Scan real corporate DNS via Cloudflare DoH, simulate a broken AI-agent OpenAPI PR, or audit WCAG 2.2 / EN 301 549 clauses instantly.

1-Click Real DNS Presets:
Click Scan Live DNS & Flatten SPF or any preset above to query live TXT records via Cloudflare DoH (cloudflare-dns.com/dns-query) and compute your exact X / 10 DNS Lookups (RFC 7208) score.

CI/CD Pre-Merge Deterministic Flattening vs. Third-Party Dynamic DNS Delegation

When a B2B domain exceeds the RFC 7208 Section 4.6.4 ceiling of 10 DNS-querying mechanisms, infrastructure teams face an architectural fork in the road: delegate live SPF resolution to a third-party SaaS DNS server (dynamic macros/CNAMEs), or flatten vendor include: trees deterministically in CI/CD while keeping 100% ownership of authoritative DNS.

Delegating live SPF to an external SaaS introduces an external runtime dependency in your email authentication path and creates vendor lock-in if you ever cancel the subscription. SPFGuard keeps your DNS self-sovereign in Git.

Technical Comparison: SPFGuard vs. EasyDMARC vs. dmarcian

Dimension EasyDMARC (Managed / Dynamic SPF) dmarcian SPFGuard (SpecGate Suite)
SPF Flattening Mechanism Hosted CNAME / Dynamic SPF macros SPF surveyor + managed partner options Deterministic pre-merge CI/CD ip4/ip6 CIDR flattening
Third-Party Runtime DNS Dependency Yes (vendor DNS queried during SMTP checks) Varies by deployment Zero (plain TXT served directly by your Route53 / Cloudflare DNS)
Pre-Merge GitHub Actions / Terraform Gate No native PR blocker No native PR blocker Native CLI & GitHub Action (fails PR before PermError ships)
RFC 8461 MTA-STS & TLS-RPT Generation Hosted add-on on higher tiers Policy inspectors Built-in deterministic policy generator in CLI & Edge API
Hosted DMARC XML (rua) Dashboard Yes (Core strength) Yes (Core strength) No (Focused strictly on deterministic CI/CD DNS & policy gates)
Predictable Engineering Pricing Volume & domain tiers ($35–$100+/mo) Per-domain / enterprise tiers $0 Free (2 domains) · $19/mo Starter (15) · $39/mo Team (Unlimited)

Test Deterministic Zero-Delegation SPF Flattening Right Now

Inspect how SPFGuard collapses a 11-lookup multi-ESP SPF record down to 0 DNS lookups in under 15ms:

Inspect spfguard-cli on GitHub
Click "Run Live RFC 7208 Flattening Benchmark" to execute a live Edge API analysis.
10-Second Onboarding Builder • Zero Docker

Generate Your Drop-In CI/CD or .pre-commit Config in 10 Seconds

Select your CI stack, deterministic gates, and repository scale to generate ready-to-commit YAML.

2. Deterministic Gates to Enforce
.github/workflows/specgate.yml
name: SpecGate Deterministic CI Gates
on: [pull_request]
jobs:
  deterministic-gates:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: profalexandrezamboni-ui/specgate-action@v1.2.0
        env:
          SPECGATE_API_KEY: ${{ secrets.SPECGATE_API_KEY }}
        with:
          base_spec: openapi/base.json
          head_spec: openapi/head.json
      - run: pipx run --spec git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli --domain example.com
Recommended for 3–15 Repositories: Starter Plan ($19/mo flat team rate) unlocks SPECGATE_API_KEY for up to 15 private/public repos, automated inline PR comments, and 1,000 checks/hr.

Transparent Pricing — Instant Activation via Paddle

Start free on up to 2 repositories or domains. Upgrade anytime for multi-repository governance, signed PR overrides, and compliance exports.

Free Open-Source

$0/mo
  • Up to 2 repositories / domains
  • Deterministic CLI & GitHub Action
  • Interactive Web Playground
  • 60 API requests/hour
Install from GitHub

Team & Compliance

$39/mo

Paddle Price ID: pri_01m72s8sgdake5vfj2ygs54x50

  • Unlimited repositories & domains
  • Auditable PR Sign-Off override workflow
  • SOC 2 Audit Trail & EN 301 549 exports
  • 10,000 API requests/hour
Subscribe Team — $39/mo

14-Day Self-Serve Refund Guarantee: Payments, sales tax, and VAT are handled by our Merchant of Record (Paddle). Cancel immediately or trigger an automated 14-day full refund anytime via POST /api/v1/support/ticket.

Frequently Asked Technical Questions

What is the architectural difference between SPFGuard and EasyDMARC or dmarcian?

Hosted dynamic SPF platforms typically ask you to delegate SPF resolution via CNAME or SPF macros pointing to their authoritative DNS infrastructure. SPFGuard is a pre-merge GitOps CI/CD flattener: it resolves recursive vendor includes into deterministic ip4/ip6 CIDRs inside your GitHub Actions pipeline so your own DNS provider (Cloudflare, Route53, Google Cloud DNS) serves plain TXT records with zero third-party runtime dependency.

When should a team choose EasyDMARC or dmarcian instead of SPFGuard?

If your IT or security team needs a hosted graphical inbox to aggregate, parse, and visualize millions of daily DMARC XML (rua/ruf) forensic reports across non-technical subsidiaries, EasyDMARC and dmarcian provide mature dashboards for that workflow. Choose SPFGuard when you manage DNS as code and want deterministic RFC 7208 10-lookup gating + RFC 8461 MTA-STS generation without external DNS lock-in.

How do you handle ESP IP rotation with static CI/CD SPF flattening?

Run spfguard-cli on a scheduled daily or weekly GitHub Actions cron job alongside your Terraform/DNS repo. Whenever Google Workspace, SendGrid, or Microsoft 365 updates a CIDR block, SPFGuard opens or validates a deterministic diff before publication.