SSL/TLS 1.3, HSTS Preload & DNSSEC Cheatsheet

Hardened transport security defaults for modern web apps and APIs — copy-ready Nginx/Caddy configs, HSTS preload checklist, and `dig`/`openssl` diagnostic one-liners.

TLS 1.3 / 1.2HSTS PreloadDNSSEC + dig CLI

Copy-Ready DNS Records & Configuration

Host / NameTypeValueTTLPurpose
HSTS Header HTTP Strict-Transport-Security: max-age=63072000; includeSubDomains; preload N/A 2-year max-age required for hstspreload.org submission
TLS Protocols Nginx ssl_protocols TLSv1.2 TLSv1.3; N/A Disable legacy SSLv3, TLS 1.0, and TLS 1.1
DNSSEC Check CLI dig +dnssec +short yourdomain.com DS N/A Verify DS record exists at parent TLD zone
TLS Probe CLI openssl s_client -connect yourdomain.com:443 -servername yourdomain.com -tls1_3 N/A Confirm TLS 1.3 handshake and full certificate chain

Interactive SPF 10-DNS-Lookup Limit Checker

MechanismTypeDirectEst. TotalNotes

Step-by-Step Deployment Checklist

  1. Disable TLS 1.0 and TLS 1.1 across load balancers, CDNs, and origin servers; prefer **TLS 1.3** with AEAD ciphers (`TLS_AES_256_GCM_SHA384`, `TLS_CHACHA20_POLY1305_SHA256`).
  2. Roll out HSTS gradually: start with `max-age=300`, verify all subdomains support HTTPS, then raise to `max-age=63072000; includeSubDomains; preload`.
  3. Enable **DNSSEC** at your authoritative DNS host (Cloudflare, Route 53, NS1) and upload the DS record to your registrar so DNS responses cannot be spoofed.
  4. Pair HTTPS transport security with CAA records (`caa-record-ssl-tls-certificate-authority.html`) and MTA-STS for email.

Common Pitfalls to Avoid

Chrome Extension — Page2MCP + Gumroad

Turn Docs & DNS Dashboards into Structured Context for Your AI Coding Agents

Capture clean Markdown and MCP-ready context with our Page2MCP Chrome Extension and AI Agent Production Workflow Kit on Gumroad.

Frequently Asked Questions

Is TLS 1.2 still safe to keep enabled alongside TLS 1.3?

Yes. Keep TLS 1.2 enabled with strong ECDHE + AES-GCM / ChaCha20 ciphers for legacy webhook/IoT clients while preferring TLS 1.3 for modern browsers.

What happens if I switch DNS providers with DNSSEC enabled?

If the old DS record remains at your registrar after changing nameservers, validating resolvers (1.1.1.1, 8.8.8.8) will return `SERVFAIL` and your site + email will go offline. Always remove DS first.

How do I check my certificate chain and expiry from the terminal?

Run `echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -dates -issuer`.

Related DNS & Email Auth Guides