Safeguard
Topic

Security Guides

In-depth guides and analysis on security guides from the Safeguard engineering team.

5115 articles

Security Guides

Why a new DNS record is still not found: negative caching

Resolvers cache 'does not exist' answers too. Learn how the SOA value sets that delay, why a new record can stay invisible, and how to avoid it.

Oct 18, 20264 min read
Security Guides

DNS delegation explained: NS records, glue and the two server rule

How a parent zone hands authority to a child with NS records, why glue records are needed, and why every zone should live on two name servers.

Oct 18, 20264 min read
Security Guides

DMARC subdomain policy: sp and np tags explained

How DMARC treats subdomains: the sp tag for existing ones, the new np tag for non-existent ones, and the inheritance rules that decide which policy applies.

Oct 18, 20263 min read
Security Guides

DMARC rollout plan: from p=none to quarantine to reject

A staged DMARC rollout: start at p=none with reports, find every sender, move to quarantine, then reject. With timing guidance from RFC 9989.

Oct 18, 20263 min read
Security Guides

DMARC is now RFC 9989: what changed from RFC 7489

RFC 9989 (May 2026) makes DMARC a Standards Track document and obsoletes RFC 7489. See what changed: DNS tree walk, t and np tags, and pct removed.

Oct 18, 20263 min read
Security Guides

DMARC pct tag removed: what the new t tag does instead

RFC 9989 drops the DMARC pct tag for gradual enforcement and adds t=y for testing. Learn why pct was removed and how to phase in a stricter policy.

Oct 18, 20263 min read
Security Guides

DMARC none, quarantine or reject: a safe rollout plan

DMARC policy options explained, with a staged path from none to reject so you stop spoofing of your domain without blocking your own legitimate mail.

Oct 18, 20263 min read
Security Guides

DMARC alignment: relaxed versus strict, with examples

DMARC passes only when SPF or DKIM passes and the domain aligns with the From address. See how relaxed and strict alignment differ, with worked examples.

Oct 18, 20263 min read
Security Guides

DKIM selectors explained, and how to rotate a signing key

A DKIM selector names which public key verifies a signature. Learn how selectors work, why they make rotation safe, and the order of steps to follow.

Oct 18, 20263 min read
Security Guides

DKIM key size: is 1024 bit still acceptable, or use 2048?

RFC 8301 requires DKIM signers to use RSA keys of at least 1024 bits and says they should use 2048. Here is what that means and how to publish a long key.

Oct 18, 20263 min read
Security Guides

Django user uploads: a security checklist

How to accept file uploads in Django without serving a malicious file back: size limits, extensions, a separate domain and why image checks are not enough.

Oct 18, 20263 min read
Security Guides

Django raw SQL: safe parameters versus string formatting

Django QuerySets are parameterized, but raw(), cursor.execute(), extra() and RawSQL are not safe by default. Here is the one rule that keeps them safe.

Oct 18, 20263 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.