Your website's domain is also a sender address. Form notifications, invoices, staff email and newsletters all go out in its name. Without mail authentication, anyone can put your address in the From field, and the recipient's mail service has a harder time telling that message from a real one. SPF, DKIM and DMARC are public DNS records that say who may send mail for the domain and what to do with messages that fail the check. Here is what each record does and how to set them up without losing your own mail.
Why this is a website owner's concern
Even if you never send a newsletter, your domain almost certainly sends email: enquiry form notifications, order confirmations, password resets, messages from a CRM. These often go out through different services, and each one needs to be an authorised sender.
Large mailbox providers already require authentication. Google's sender guidelines say that everyone sending to Gmail accounts must set up SPF or DKIM. Anyone sending more than 5,000 messages a day to Gmail addresses must set up SPF, DKIM and DMARC, and the domain in the From header must align with the SPF or DKIM domain. Even if your volume is far lower, these records make it harder for fraudsters to pose as your business.
Before changing anything, find out who manages the domain's DNS and your mail: the registrar, the host or an IT contractor. Agree each record change and write it down, with when, who and what changed, so you can quickly restore the previous state if needed.
SPF: who is allowed to send
SPF is a TXT record at the root of your domain. It starts with v=spf1 and
lists the servers and services allowed to send mail in your name. Your mail host and
your newsletter service are usually added with an include: mechanism that
the provider gives you.
Points from the SPF specification (RFC 7208) worth knowing:
-
There must be exactly one record. If there are several, the check
ends in a permanent error (
permerror). This often happens after a change of provider, when the new record was added and the old one was never removed. -
No more than 10 DNS lookups. The
include,a,mx,ptrandexistsmechanisms and theredirectmodifier count toward the limit. Going over it is also apermerror. Every extrainclude:brings you closer. -
The ending matters.
-allstates clearly that other senders are not authorised;~allis a softer "probably not authorised".+allauthorises every server on the internet, which defeats the point of the record.
If the domain sends no mail at all, you can publish an SPF record that authorises
nobody: v=spf1 -all.
DKIM: a signature that cannot be altered in transit
DKIM adds a cryptographic signature to each message. The DKIM specification (RFC 6376) describes it as a way for a domain to claim some responsibility for a message. The receiving server finds the public key in DNS and checks that the signed parts of the message were not changed after sending.
The key is published at selector._domainkey.yourdomain. The selector is a
name the mail service picks. Selectors let one domain hold several keys at once, for
example one for staff mail and one for the newsletter service, and rotate them without
breaking anything. For mail sent to personal Gmail accounts, Google requires a key of
at least 1024 bits and recommends 2048.
In practice, you switch DKIM on in the dashboard of each service that sends mail for you, and it shows the DNS record to add. Selectors are not visible from outside, so keep your own list of sending services.
DMARC: a rule for mail that fails the check
DMARC ties SPF and DKIM to the address a person sees in the From field. A message
passes DMARC if SPF or DKIM passes and the authenticated domain aligns with the From
domain. The record is a TXT record at _dmarc.yourdomain and starts with
v=DMARC1.
The current DMARC specification (RFC 9989, May 2026) keeps three policies in the
p tag:
p=none: monitor only, with no change to delivery;-
p=quarantine: treat failing mail as suspicious (usually the spam folder); p=reject: reject failing mail.
The rua tag gives an address for aggregate reports. In them, mailbox
providers tell you which servers sent mail using your domain and whether it passed.
These reports are how you find the legitimate services you forgot to set up.
Moving safely from monitoring to blocking
The biggest mistake is going straight to p=reject. If even one legitimate
service, such as your invoicing system, is not set up, its mail starts to disappear. A
safer order:
- List every service that sends mail in your domain's name: mail host, website form, CRM, newsletters, accounting, help desk.
- Set up one correct SPF record, and DKIM for each service.
-
Publish DMARC with
p=noneand aruaaddress. Read the reports for a few weeks, find your own services that fail, and fix them. -
Once every legitimate source passes, move to
p=quarantineand later top=reject, and keep reading the reports.
Common mistakes: two SPF records instead of one; a DMARC record placed at the domain
root instead of _dmarc; a new newsletter service connected without
updating SPF or DKIM; a p=none policy that nobody has looked at for
years. Monitoring mode is a useful stage, but on its own it does not block forged
mail.
What FluxRadar checks
In the Complete plan, the Security module reads the public TXT records of your site's
registered domain and of _dmarc. It reports a finding when:
- there is no SPF record;
- there is more than one SPF record;
- SPF authorises every sender with
+all; - there is no DMARC record.
A p=none policy is not treated as a problem on its own, but when there is
also an SPF finding, the evidence notes that DMARC is in monitoring mode and forged
mail is not blocked.
The limits matter too. FluxRadar sends no test mail and does not guarantee delivery. DKIM is not checked, because that requires knowing the selector. The 10-lookup SPF limit and domain alignment are not evaluated either. No findings means the basic records are in place; review your list of sending services and your DMARC reports with whoever manages your mail.
Sources and verification
External guidance checked on November 16, 2026. The examples are illustrative: they do not describe client results and do not promise search positions.