Azlaan Electric AC Solar Center — Solar, CCTV, AC & electrical work, Faisalabad Call: 0300-8987448

SPF Record Generator

Build a valid SPF TXT record for your domain. The live DNS lookup counter warns you before you cross the 10-lookup limit.

DNS lookup counter 0 / 10

v=spf1 -all
Publish this as a TXT record at the root of your domain. Most DNS providers call it the "@" or blank host.

How to use

  1. Add every service that sends mail for your domain: includes (like Google or your mail provider), server IP addresses, MX and A records.
  2. Watch the DNS lookup counter — keep it at 10 or below.
  3. Copy the generated record and add it as a TXT record at your domain root.

Note: SPF allows a maximum of 10 DNS-triggering mechanisms (include, a, mx, ptr, exists, redirect) per RFC 7208 — receivers may reject mail from domains that exceed it. This counter is an estimate: nested includes can add hidden lookups, so verify your published record with an online SPF checker afterwards. DNS changes can take a few hours to spread.

Frequently Asked Questions (FAQ)

What does the SPF Record Generator do?

It builds a valid SPF TXT record for your domain from your IP addresses, MX and A records, includes and third-party senders.

What is the DNS lookup counter?

It counts how many DNS lookups your record needs and warns you before you cross the 10-lookup limit, so the record stays valid.

Which policy should I choose for all?

The tool offers reject (-all, recommended), soft fail (~all), neutral (?all) and allow (+all, not recommended) for unmatched senders.

How do I publish the record it builds?

Copy the generated TXT record and add it at your domain's root DNS. Then check the published record with an online SPF checker to confirm it works.