Defaults.Exposed › Setup › SPF
How to set up SPF on Beget
Add or edit the SPF record in Beget DNS so mailbox providers can tell your real email from forgeries.
Why this matters to your business
SPF (Sender Policy Framework) is a short note in your domain’s DNS that lists which mail servers are allowed to send email using your name. When someone receives a message claiming to be from you, their mail provider checks that list. If the sending server isn’t on it, the message looks suspicious — and either lands in spam or gets blocked.
In plain terms: SPF makes it harder for someone to impersonate your business by email, and it helps your genuine emails reach the inbox instead of the junk folder. It is one record, it is free, and it takes a few minutes.
Before you start: is Beget actually running your DNS?
A DNS record only works if Beget is the one answering DNS questions for your domain. That is the case when your domain’s nameservers point to Beget’s nameservers — which is the default if you registered the domain at Beget or host your site there and never changed them. In the Beget control panel, open the DNS section and check what the domain’s zone shows. If your nameservers point at another company (Cloudflare, a different host, your email provider), add the SPF record there instead — anything you save at Beget would do nothing.
Beget probably added an SPF record already
For domains on its hosting, Beget publishes an SPF record of its own — typically in the form v=spf1 redirect=_spf.beget.com, which delegates the whole policy to Beget. That is fine if Beget’s servers are the only thing sending your mail.
If you also send from another service (Google Workspace, Microsoft 365, a newsletter tool), you must edit the existing record rather than add a second one. Beget’s own help shows converting the record to the include: form, for example:
v=spf1 include:_spf.beget.com include:_spf.google.com ~all
Replace the second include: with the value your actual mail provider tells you to use — check their help pages for the exact string.
Step-by-step on Beget
Beget’s panel can be displayed in Russian or English; the labels below are the Russian originals with English equivalents.
- Sign in to the Beget control panel.
- Open the DNS section and select your domain in the list at the top.
- Next to the domain’s main zone, click «Открыть режим редактирования» (Open editing mode).
- Find the existing TXT record starting
v=spf1. If it exists, edit it to add your senders. If there is none, use the «Быстрое добавление» (Quick add) block: choose the domain itself, set the record type to TXT, and paste your SPF text into the data field, e.g.:v=spf1 include:_spf.beget.com include:_spf.google.com ~all - Save the record. Exact button labels vary slightly between panel versions — confirm in your console.
Beget quirks people get wrong
- Only one SPF record per domain. Two
v=spf1TXT records is treated as broken by mail providers. Beget often pre-creates one — edit it, never add a second. redirect=andinclude:don’t mix. The defaultv=spf1 redirect=_spf.beget.comform can’t have extra services bolted on. To add another sender, rewrite the record in theinclude:form and end it with~all.- Keep Beget in the record if Beget sends your mail. If your website or Beget mailboxes send email, keep
include:_spf.beget.comin the list when you rewrite the record. - Don’t wrap the value in quotes. Paste the plain text starting
v=spf1— adding your own"marks can corrupt the record. ~allvs-all.~all(softfail) means “anything not listed is suspicious”;-all(hardfail) means “reject anything not listed”. Start with~all, tighten to-allonce you’re sure the list is complete.- Changes aren’t instant. DNS updates can take from a few minutes up to a couple of hours to spread.
Verify it worked
Once you’ve saved the record and given it a little time to take effect, verify it with the free check on this site. It will tell you in plain language whether your SPF record is present and correctly formed.
Done? Check your domain free to confirm it worked — and see your full grade across all 34 checks.