Parked, typo-defensive and legacy domains that never send email are frequently left with no SPF or DMARC records, letting attackers spoof them freely. Lock down every non-sending domain with four DNS settings: a null MX record (0 . per RFC 7505), SPF set to v=spf1 -all, DMARC set to v=DMARC1; p=reject; sp=reject;, and registrar transfer lock - then verify the whole list automatically via API.
- Who it is for
- MSPs, MSSPs and IT teams holding defensive brand domains, country-code variants or acquired company names.
- What it covers
- A zero-cost five-record DNS recipe and monthly verification loop that shuts down spoofing on unused domains.
- Why it matters
- Teams harden their primary domain while leaving 15 to 200 parked variants wide open for lookalike invoice phishing.
- How to integrate
- Publish null MX, SPF -all and DMARC p=reject, remove stale CNAMEs, and sweep your list monthly via the API.
Verify whether your unused brand variants enforce DMARC p=reject and SPF -all or remain open to spoofing.
The five-record lockdown recipe for non-sending domains
Unlike active corporate domains, parked and defensive domains have no legitimate email traffic to break. Locking them down is the fastest, lowest-risk cyber security win an MSP or security team can deliver across an entire portfolio.
| Record / setting | Exact value to publish | What attack it blocks |
|---|---|---|
| Null MX (RFC 7505) | @ IN MX 0 . | Declares explicitly that the domain accepts no inbound email, stopping bounce backscatter. |
| Strict SPF | @ IN TXT "v=spf1 -all" | Tells every receiving server that zero IP addresses are authorised to send mail for this domain. |
| Enforcing DMARC | _dmarc IN TXT "v=DMARC1; p=reject; sp=reject; rua=mailto:dmarc@primary.com" | Instructs receivers to reject spoofed mail on both the apex and all subdomains, and reports attempts. |
| CAA restriction | @ IN CAA 0 issue ";" | Prevents any public Certificate Authority from issuing TLS certificates for an unused domain. |
| Registrar lock & DNS | clientTransferProhibited + remove stale A/CNAME records | Prevents domain hijacking and dangling cloud subdomain takeovers. |
Auditing an entire parked-domain list via the API
Keep a list of every defensive and legacy domain your organisation or client owns and verify it monthly. A 20-line script using our SPF, DMARC and MX endpoints confirms every parked name stays locked down even if someone moves registrars or resets default parking templates.
# Test-ParkedDomains.ps1 - confirms v=spf1 -all, DMARC p=reject and null MX
$Headers = @{ Authorization = "Bearer $($env:MN_API_KEY)"; "Content-Type" = "application/json" }
$Parked = @("brand-variant.net", "legacy-acquired.com.au", "brand-typo.co")
foreach ($Domain in $Parked) {
$Body = @{ input = @{ domain = $Domain } } | ConvertTo-Json -Compress
$Spf = Invoke-RestMethod -Method Post -Uri "https://api.middle.network/v1/tools/spf" -Headers $Headers -Body $Body
$Dmarc = Invoke-RestMethod -Method Post -Uri "https://api.middle.network/v1/tools/dmarc" -Headers $Headers -Body $Body
$SpfOk = ($Spf.data.record -match '^v=spf1\s+-all$')
$DmarcOk = ($Dmarc.data.policy -eq 'reject')
$State = if ($SpfOk -and $DmarcOk) { "LOCKED" } else { "EXPOSED" }
Write-Host "$State $Domain | SPF=$($Spf.data.record ?? 'missing') | DMARC p=$($Dmarc.data.policy ?? 'missing')"
}# Spot-check a parked domain’s DMARC enforcement
curl -sS -X POST "https://api.middle.network/v1/tools/dmarc" \
-H "Authorization: Bearer $MN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"domain":"example.com"}}' | jq '{status, policy: .data.policy, subPolicy: .data.subPolicy, plain: .summary.plain}'How middle.network makes portfolio-wide parked-domain audits effortless
Checking 50 or 200 defensive domains manually for null MX, strict SPF, DMARC sp=reject and leftover CNAMEs rarely gets done twice. Our raw DNS wire client and self-serve API inspect SPF policy strictness, DMARC subdomain enforcement (sp=), MX records and CT-log subdomains cleanly in one lightweight sweep.
Separates weak ~all or p=none records from genuine -all and p=reject / sp=reject lockdown automatically.
Cross-checks Certificate Transparency logs and live DNS to surface forgotten staging subdomains still hanging off acquired brands.
One short PowerShell or curl loop produces timestamped compliance proof that registrar renewals did not reset your records.
Questions people ask
Sources and further reading
Written by the middle.network engineering team (Middle Enterprises Pty Ltd, ABN 88 633 909 412), who build and operate these tools. Last reviewed 2026-11-27.