# Fix email authentication for cocomusic.org

You are working on the DNS and mail configuration for cocomusic.org.
Measured by MailAuthWatch on 01 Dec 2026 from public DNS. Grade B (75/100).
Report: https://www.mailauthwatch.com/check/cocomusic.org

## What is published right now (do not assume anything else)
- SPF (TXT cocomusic.org): v=spf1 +a +mx +a:server7.masterwebdesigners.com -all   — valid, 3 of 10 lookups
- DMARC (TXT _dmarc.cocomusic.org): v=DMARC1; p=none; rua=mailto:rua@dmarc.brevo.com
- DKIM: default._domainkey (1024-bit)
- MX: server7.masterwebdesigners.com  → a custom mail host
- Nameservers: ns3.digitalocean.com, ns1.digitalocean.com …  → records are managed in DigitalOcean DNS

## Tasks, in order of impact
### 1. DMARC is sitting at p=none.
Why: You are collecting reports and enforcing nothing, so anyone can still send as you. Gmail and Yahoo accept p=none from bulk senders, but it protects nobody.
Replace TXT record:
  _dmarc.cocomusic.org  TXT  v=DMARC1; p=quarantine; pct=25; rua=mailto:rua@dmarc.brevo.com
Only after DKIM is verified working (see the DKIM task if present). Hold for 14 days, review reports, then pct=100, then p=reject.
DigitalOcean DNS CLI/API (adjust identifiers):
  doctl compute domain records create cocomusic.org --record-type TXT --record-name _dmarc --record-data "v=DMARC1; p=quarantine; pct=25; rua=mailto:rua@dmarc.brevo.com" --record-ttl 3600

### 2. One DKIM key is 1024-bit.
Why: Selector default._domainkey is under 2048 bits, which some receivers already downgrade. 
Rotate to a 2048-bit key at the sending service.

## Rules
- Publish exactly one SPF record; never add a second v=spf1 TXT.
- Do not remove any include: or ip4: you cannot account for; mail may depend on it.
- Do not set DMARC to p=reject in one step; stage through p=none → quarantine → reject.
- Show the planned DNS changes as a diff (record, old value, new value) before applying them.
- If you cannot access DigitalOcean DNS, stop and say exactly what access you need.

## Verify
  dig +short TXT _dmarc.cocomusic.org
  dig +short TXT cocomusic.org
Then open https://www.mailauthwatch.com/check/cocomusic.org?fresh=1 and confirm:
  DMARC p=quarantine. Target grade: A.

## Report back
List each record you changed (name, type, old value, new value), what you verified, and anything you could not do.