AWS Route53 & Amazon SES GitOps Blueprint: Flattened SPF (<10 Lookups), MTA-STS & TLS-RPT

Adding amazonses.com alongside Google Workspace, Microsoft 365, and HubSpot pushes corporate domains past RFC 7208's 10-lookup ceiling. Flatten CIDRs deterministically inside your AWS Route53 Terraform pipeline.

⚡ 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.

Terraform aws_route53_record Blueprint for Amazon SES + Flattened SPF & MTA-STS

Scan your live domain right now with our Zero-Click Live SPF & DNS Scanner, then commit deterministic aws_route53_record resources without delegating DNS to third-party SaaS hosts:

resource "aws_route53_record" "spf_flattened" {
  zone_id = var.route53_zone_id
  name    = var.domain
  type    = "TXT"
  ttl     = 300
  records = [
    "v=spf1 ip4:54.240.0.0/18 ip4:69.169.224.0/20 ip4:35.190.247.0/24 ip4:64.233.160.0/19 -all"
  ]
}

resource "aws_route53_record" "mta_sts_txt" {
  zone_id = var.route53_zone_id
  name    = "_mta-sts.${var.domain}"
  type    = "TXT"
  ttl     = 300
  records = ["v=STSv1; id=2026111901;"]
}

resource "aws_route53_record" "smtp_tls_rpt" {
  zone_id = var.route53_zone_id
  name    = "_smtp._tls.${var.domain}"
  type    = "TXT"
  ttl     = 300
  records = ["v=TLSRPTv1; rua=mailto:tls-rpt@${var.domain};"]
}

CI/CD Gate (`v1.2.0`): Run uvx --from git+https://github.com/profalexandrezamboni-ui/spfguard-cli@v1.2.0 spfguard-cli --domain ${DOMAIN} --format sarif > spfguard.sarif on every Terraform PR and scheduled Monday cron job.

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

Why do AWS Route53 + Amazon SES domains frequently hit RFC 7208 SPF PermError (>10 lookups)?

Combining include:amazonses.com with Google Workspace (include:_spf.google.com, 4 lookups), Microsoft 365, SendGrid, Zendesk, or HubSpot quickly exceeds 10 DNS-querying mechanisms—causing strict DMARC receivers to fail SPF with PermError.

How does SPFGuard integrate with aws_route53_record in Terraform?

SPFGuard resolves recursive ESP includes into deterministic ip4:/ip6: CIDRs inside CI/CD so your aws_route53_record TXT resource stays 100% under your AWS account's control—zero $89/mo hosted CNAME macros.