DnsGuard › Guides › SPF › Generator

SPF record generator

An SPF record is one DNS TXT record that lists every server allowed to send email for your domain. Pick the services you send with, add your own servers, choose what happens to everything else, and copy the result into your DNS panel. New to SPF? Read the SPF guide first.

Runs entirely in your browser. Nothing you type here is sent to DnsGuard or stored.

Services that send email as your domain (include:)

Your own servers
Advanced: exists: and redirect=
Mail from servers you didn't list

Your SPF record

Type TXT, name your domain (@), value:

v=spf1 -all

DNS lookups: 0 / 10 (each include, a, mx, exists and redirect counts one; includes can add more)

    After you publish it, check your domain to see the real lookup count and your full email score.

    How to publish it

    1. In your DNS provider's panel, find the existing TXT record that starts with v=spf1. If there is one, edit it instead of adding a new one. A domain must have exactly one.
    2. Set the name (host) to @ or leave it blank, which means the domain itself, and paste the value.
    3. Wait for the TTL to pass (often 5 minutes to an hour), then run a check.

    Tips

    Check your domain now

    Free check of SPF, DKIM, DMARC, BIMI, MX, MTA-STS and TLS-RPT with a 0–100 score and plain-English fixes. No sign-up.

    Free tools: SPF record generator · DMARC record generator