Skip to content
Mail Test Tools

Is your server’s IP
in the SPF record? SPF check

Reads the domain’s SPF record and shows the authorised senders, DNS lookup count and closing rule. If your server’s IP is not listed, mail sent from it fails SPF.

How to read the results

  • Closing rule

    -all rejects senders that are not listed, ~all treats them as suspicious. +all allows everyone and should not be used.

  • 10 DNS lookup limit

    Mechanisms such as include count as DNS lookups. A record over 10 becomes invalid; remove include entries you no longer use.

  • SPF alone is not enough

    Receivers also look at DKIM and DMARC. Use the Mail Security tool to see all three together.

  • Subdomains need their own record

    SPF is published per domain; if you send from a subdomain such as mail.yourdomain.com, give it its own SPF record.

SPF when you send mail from an izCloud server

SPF publishes in DNS which servers may send email for your domain. If your app, a form or your own mail server sends directly from an izCloud server, the server’s public IP address must be on that list; otherwise the receiver may treat the message as suspicious or reject it.

When should you check?

  • When you set up a new server and turn on sending in your app.
  • When you move sending to another server; the old IP stays in the record and the new one is missing.
  • When you add a new sender such as a newsletter service or CRM.
  • After moving the domain to izCloud DNS.

Adding the server IP to SPF

If your server’s public IP is 203.0.113.10 and a separate mail service also sends for you, the record might look like this: v=spf1 ip4:203.0.113.10 include:service-name -all. The ip4 mechanism does not count as a DNS lookup, so listing servers with ip4 rather than include keeps you within the limit.

If you send from several servers, list each IP with its own ip4 or add a contiguous range in CIDR notation, such as ip4:203.0.113.0/28. Do not make the range wider than needed; every address in it can send as you.

A domain has exactly one SPF record. When adding a sender, edit the existing record instead of creating a second v=spf1 record. The DNS record guide shows how to change it in the panel.

If your app sends through izMail Relay, the relay delivers the message, not your server; the SPF record must contain the entry given for the relay.

Reading the results

ResultWhat it meansWhat to do
No recordThe receiver cannot verify the senderAdd an SPF record with the server IP
More than one recordSPF is treated as invalidMerge everything into one TXT record
Over 10 lookupsThe record returns an error (permerror)Remove unused includes, list fixed IPs with ip4
+all or ?allAnyone can send as youClose with -all or ~all
~allUnlisted senders get a softfailMove to -all once every sender is listed

Common mistakes

  • Leaving the old and new record side by side: two separate v=spf1 records make SPF invalid altogether.
  • Adding a fixed-IP server with a or mx: it works, but each one counts as a lookup; ip4 is more robust.
  • Testing right after a change: receivers may see the old value until its TTL expires.
  • Forgetting the ip6 address when the server also sends over IPv6.
  • Ending the record with ?all: the SPF result then tells the receiver nothing.

PTR, DKIM and DMARC alongside SPF

When sending directly from a server, PTR alignment matters too: the IP’s reverse DNS record should match the name the server introduces itself with. PTR records are set by the owner of the IP block; for izCloud IPs you request one by opening a support request from the panel. You can see the current state with the Reverse DNS tool, and DKIM and DMARC with the Email security tool.

If you would rather not run sending infrastructure yourself, izMail offers mailboxes, and izMail Relay for your apps; your app sends on port 587 with STARTTLS and SMTP authentication.

Frequently asked questions

Can there be more than one SPF record?

No, there must be only one. Multiple records are treated as invalid; merge them into a single TXT record.

What should I do when I add a new sender?

Add an include or ip4 to the record, then confirm here that the DNS lookup count stays under 10.

I send mail from my cloud server. What goes in SPF?

Add the server’s public IP address with ip4: and end the record with -all or ~all. If your mail service has an include name, add that too.

What does softfail mean in an SPF result?

A sender that is not listed but matches ~all gets a softfail; most receivers accept the message but may mark it as suspicious.

Which mechanisms count toward the lookup limit?

include, a, mx, exists and redirect count as DNS lookups; ip4 and ip6 do not.