FlinkTools

SPF builder and DMARC report viewer

Build an SPF record and count its DNS lookups against the limit of 10, or read a DMARC report and see which sources pass. No DNS requests are made.

Processed on your device, never uploaded

SPF record

Part
Everything else

Your record

DNS lookups
0 / 10
Length
11 B
No problems found in the parts you entered.

Nested includes can use more lookups than shown. This tool counts only the parts you enter and makes no DNS requests.

0 of 10 DNS lookups used by the parts you entered. The record is 11 bytes.Processed on your device, never uploaded

What it does

Two helpers for email authentication in one tool. The SPF builder puts together a record from the services you use: includes, IPv4 and IPv6 ranges, your MX and A records and a final rule for everything else. It counts the DNS lookups the parts will cost and warns when the limit of 10 is passed, since a record over the limit fails for every receiver. It also checks the addresses and flags +all and ptr. The DMARC viewer opens the aggregate reports that mailbox providers send you (.xml, .xml.gz or .zip) and shows, per sending IP address, how many messages there were and whether SPF, DKIM and DMARC passed. No DNS requests are made and nothing is uploaded.

How to use it

  1. 1SPF: add your includes, IP ranges and the rule for everything else.
  2. 2Check the lookup count and the notes, then copy the record into your DNS.
  3. 3DMARC: drop the report file and read the table by source IP.

Common uses

  • Write an SPF record for a domain that uses Google Workspace, Microsoft 365 and a newsletter service.
  • Find out why an SPF record fails with "too many DNS lookups".
  • Check who sends mail in your domain's name with the DMARC reports.
  • Spot a service you forgot to add to SPF because its mail fails in the report.
  • Decide when it is safe to move DMARC from p=none to quarantine or reject.

Questions

What is the limit of 10 lookups?

An SPF check may make at most 10 DNS lookups. include, a, mx, ptr, exists and redirect each count as one. Above 10 the check returns a permanent error.

Does the count include the lookups inside my includes?

No. The tool counts only the parts you enter and makes no DNS requests. Large providers use several lookups inside their include, so keep some room below 10.

Which ending should I use: -all or ~all?

-all tells receivers to reject mail from other servers, ~all marks it as suspicious. Many start with ~all and move to -all when the reports look clean.

Why is my record split into several strings?

One DNS text string holds 255 bytes. Longer records are split into quoted pieces, which most DNS panels do for you.

What is in a DMARC aggregate report?

A daily XML file from a mailbox provider: for each sending IP, how many messages claimed your domain and whether SPF and DKIM passed with the right domain.

Which files can I open?

Plain .xml, gzip-compressed .xml.gz and .zip files, which are the formats providers send. You can also paste the XML.

Is my report uploaded?

No. The files are read in your browser and nothing is sent anywhere.

AD320 × 100