SPF and DMARC Record Generator

Choose who sends mail as your domain and how servers should treat fake messages, and we write the correct record ready to copy.

Try:

Generator

SPF record TXT @

Choose who sends mail as your domain.

DMARC record TXT _dmarc

Decide what servers do with fake mail in your name.

Where do I add the record?

Both records are TXT records, added wherever your domain's DNS is managed: our client area if your nameservers are with us, as in managing DNS records, the Zone Editor in cPanel, or your DNS provider.

RecordName (Host)TypeValue
SPF@ or the domainTXTThe generator output
DMARC_dmarcTXTThe generator output

An important SPF rule

A domain has exactly one SPF record. If you already have one, do not add a second; build one record covering every service and replace the old one. Two records make the check fail at receiving servers.

Which DMARC policy should I start with?

  • none: monitoring only; it stops nothing. Good for a few weeks of reports.
  • quarantine: failing mail goes to spam. A safe middle step for most companies.
  • reject: failing mail is refused. The strongest protection, once all your services pass.

Ready examples for common setups

Your setupSuitable SPF record
All your mail is on your hostingv=spf1 mx ~all
Hosting, plus a site that sends form emailsv=spf1 a mx ~all
Mail on hosting and Google Workspace togetherv=spf1 mx include:_spf.google.com ~all
Mail on Microsoft 365 onlyv=spf1 include:spf.protection.outlook.com ~all

Adjust the example to the services that actually send as you: invoicing, newsletter tools and website forms. Every service sending for your domain must be in the record.

After adding it

Wait for the record to propagate according to its TTL, then check the result with the email domain checker. If your mail is on cPanel, Email Deliverability creates SPF and DKIM automatically without writing them by hand.

Frequently asked questions

Did not find your answer? Ask us on WhatsApp

Do I need both SPF and DMARC?

Yes. SPF says who sends as you, DKIM signs messages, and DMARC ties them together and decides what happens to failing mail. Full protection needs all three.

What do mx and a mean in SPF?

mx allows your domain's mail servers to send; a allows the website's own address, useful if your site sends form and order emails.

What is the rua report address for?

Major mail providers send you periodic reports showing who sends as your domain, so you can spot forgotten services or spoofing.

Does the generator store my domain or data?

No. The record is built in your browser and nothing is sent to our servers.

How long until the new record shows up?

It depends on the TTL and your DNS provider, usually minutes to hours. Follow it with the DNS checker.

Company email on hosting that knows these details

Email hosting with cPanel and Arabic support to help with your records.

Contact us on WhatsApp