1. Two SPF records = permerror
The SPF specification (RFC 7208) is clear: a domain may have only one TXT record starting with v=spf1. When the receiving server finds two, it does not pick the better one; it returns permerror, and SPF then works for none of your senders.
A typical picture after rolling out a new tool:
example.com. TXT "v=spf1 include:_spf.google.com ~all"
example.com. TXT "v=spf1 include:servers.mcsv.net ~all"Check it with:
dig +short TXT example.com | grep -c spf1A result greater than 1 means trouble.
2. How to merge SPF records
Take one v=spf1 at the start, all mechanisms from both records, and one all at the end:
example.com. TXT "v=spf1 include:_spf.google.com include:servers.mcsv.net ~all"Rules for merging:
- keep one
allat the end; if the records had different ones (~alland-all), choose the one you are sure of, and~allwhen in doubt; - remove repeated entries;
- count the DNS lookups: a merged record easily goes over the limit of 10 (see SPF PermError "too many DNS lookups");
- delete the old record only after adding the merged one, so the domain is never left without SPF.
The SPF record type
Some old DNS panels have a separate "SPF" record type (type 99). It was retired in 2014 and receivers do not read it. Always publish SPF as a TXT record and delete any old SPF-type record.
3. Two DMARC records = no DMARC
DMARC is similar, but the effect is even harder to spot. If _dmarc.example.com holds two v=DMARC1 records, the receiver skips DMARC entirely (RFC 7489). Your reject policy stops protecting the domain and reports stop arriving, even though everything "is there" in DNS.
The most common cause: a report analysis service asks you to add a record with its rua address, and someone adds it next to the existing one instead of editing it.
4. Several report addresses in one record
You do not need two records to send reports to two places. The rua tag accepts several addresses separated by commas:
_dmarc.example.com. TXT "v=DMARC1; p=quarantine; rua=mailto:[email protected],mailto:[email protected]"An address in a domain other than yours needs that domain's consent (the record example.com._report._dmarc.reportservice.example). Report services publish it themselves.
5. When many records are fine
| Record | How many? |
|---|---|
SPF (v=spf1 in the domain's TXT) | exactly one |
DMARC (_dmarc) | exactly one |
DKIM (selector._domainkey) | any number, one per selector; every provider has its own |
| Other domain TXT records (e.g. Google or Microsoft verification) | any number, they do not affect SPF |
| MX | any number, with priorities (see MX record) |
The domain audit in the MailSpecto panel detects both multiple SPF records and multiple DMARC records, and daily domain monitoring alerts you when such a record appears after DNS changes, before receivers start rejecting your mail.
- The domain has one TXT record with
v=spf1. _dmarcholds one record withv=DMARC1.- Several report addresses go comma-separated into one
rua. - A new provider means a new include in the existing SPF and a new DKIM selector, not a new SPF record.
- Check the domain again after every DNS change.
Keep your contact list clean
Verify email addresses before you send, and explore our upcoming SPF/DKIM/DMARC diagnostics module.
MailSpecto Engineering Team
We build tools for email address verification, deliverability monitoring and mail infrastructure security diagnostics for companies in Poland and Europe.