EdgePosture EdgePosture by Alo Technologies
Engineering Playbook · 6 min read

TLS 1.3, CAA, DNSSEC & RFC 7505 Null-MX Hardening Playbook

Prevent certificate outages, unauthorized CA issuance, DNS cache poisoning, registrar hijacking, and parked-domain spoofing.

1. Enforce TLS 1.3 + Modern AEAD Ciphers & Same-Host HSTS Preload Redirects

Disable legacy TLS 1.0 and TLS 1.1 across all edge load balancers and CDNs. Prefer TLSv1.3 with AEAD cipher suites (TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256). For HSTS Preload compliance, port 80 must first redirect HTTP to HTTPS on the SAME host (https://$host$request_uri) before canonicalizing www to apex over HTTPS.

Nginx TLS 1.3 Server Blocks & Same-Host HSTS Preload Redirect
server {
    listen 80;
    listen [::]:80;
    server_name example.com www.example.com;
    # HSTS Preload requires HTTP -> HTTPS redirect on the SAME host first:
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name example.com;

    ssl_certificate     /etc/letsencrypt/live/example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_prefer_server_ciphers off;
    ssl_session_tickets off;
}

2. Restrict Certificate Issuance With DNS CAA Records

CAA (Certification Authority Authorization, RFC 8659) instructs public CAs which issuers are permitted to mint certificates for your domain, reducing blast radius from misconfigured subdomains or compromised validation flows. Add an iodef tag for incident notifications.

DNS CAA Records (Let's Encrypt + Google Trust Services)
@  IN CAA 0 issue "letsencrypt.org"
@  IN CAA 0 issue "pki.goog"
@  IN CAA 0 issuewild "letsencrypt.org"
@  IN CAA 0 iodef "mailto:security@yourdomain.com"

3. Enable DNSSEC (DS + AD Bit) & Verify Registrar Transfer Lock

Enable DNSSEC at your authoritative DNS provider (Cloudflare, Route 53, Cloud DNS) and publish the resulting DS record at your domain registrar. Confirm that validating resolvers return the Authenticated Data (AD) flag and verify via RDAP that your domain carries clientTransferProhibited to prevent unauthorized registrar transfers.

Verify DNSSEC AD Bit & DS Record via dig
dig +dnssec +multi yourdomain.com DS @1.1.1.1
# Look for "flags: qr rd ra ad;" confirming DNSSEC chain validation

4. Lock Non-Mail Domains With RFC 7505 Null MX

Web-only or API-only domains that never send or receive email should publish an explicit RFC 7505 Null MX record (0 .) paired with SPF 'v=spf1 -all' and DMARC 'p=reject'. IMPORTANT: Do NOT point rua= to an address on the Null-MX domain itself because MX 0 . explicitly refuses inbound mail and all aggregate reports will bounce. Route rua= to an external mail-receiving domain (e.g., dmarc@yourdomain-mail-host.com) with RFC 7489 section 7.1 external report authorization (_report._dmarc).

DNS Zone — RFC 7505 Null MX + Anti-Spoofing Lock
; DNS Zone — RFC 7505 Null MX + Anti-Spoofing Lock:
; WARNING: Point rua= to a separate mail-receiving domain (NOT the Null-MX domain itself!)
@       IN MX  0 .
@       IN TXT "v=spf1 -all"
_dmarc  IN TXT "v=DMARC1; p=reject; sp=reject; pct=100; adkim=s; aspf=s; rua=mailto:dmarc@yourdomain-mail-host.com"

5. Publish RFC 9116 /.well-known/security.txt

Publish /.well-known/security.txt over HTTPS with a valid Contact: URI and a rolling future ISO-8601 Expires: timestamp (RFC 9116) so security researchers have an authoritative vulnerability disclosure channel.

File: https://yourdomain.com/.well-known/security.txt
Contact: mailto:security@yourdomain-mail-host.com
Expires: 2027-06-01T00:00:00Z
Canonical: https://yourdomain.com/.well-known/security.txt
Preferred-Languages: en

Frequently Asked Questions

Does RFC 7505 Null MX affect web traffic or subdomains?

No. MX 0 . only signals to SMTP servers that the apex domain does not accept inbound email. HTTPS web traffic and dedicated mail subdomains (like mail.yourdomain.com) continue operating normally.

How soon should I renew TLS certificates before expiry?

Automate renewal via ACME at least 30 days prior to expiration. EdgePosture flags certificates under 30 days as warnings and under 7 days as critical expiry risks.

Why does security.txt require an Expires field?

RFC 9116 mandates an ISO-8601 Expires field so security researchers know the disclosure contact is actively maintained and not stale. Rotate it every 6 to 12 months.