How to add SPF, DKIM and DMARC records in Wix
Updated · 9 min read
In short
- You can add these records in Wix only if the domain is connected by name servers. Connected by pointing, they belong at your domain host.
- Put SPF in the TXT section, not the SPF section, leave Host Name blank for the root, and enter the DKIM record's name, such as google._domainkey, as the Host Name.
- Wix's help has no DMARC article. Add a TXT record at _dmarc yourself, after checking that Email Marketing has not already set one up.
On this page
Whether you add these records in Wix at all depends on how the domain is connected. Connected by name servers, its DNS records are managed in your Wix account. Connected by pointing, they stay with the company the domain is registered with, and nothing you add in Wix is published.
For domains managed in Wix, this guide covers the Manage DNS Records page section by section, what Wix sets up on its own, and the gaps in Wix's help — a DMARC record above all — filled in from what the records themselves require.
Checked against Wix help, 2026-11-19. Wix can rename a menu or move a button without notice, so treat the labels below as a dated snapshot: where your screen differs, look for the field each step describes. The pages we read are listed at the end, and where they say nothing, this guide says so rather than guessing.
Check yours now
Name servers or pointing: check this first
Wix's help puts the difference simply: connected by name servers, you manage DNS records from your Wix account; connected by pointing, you keep managing them at your domain host. Its TXT, CNAME and DKIM articles each repeat that a domain connected by pointing gets these records at the domain host, not in Wix.
Microsoft 365 gets advice of its own. Wix says that if your Office 365 email already works, connecting the domain by pointing avoids having to re-add all of its DNS records in Wix. For a domain whose mail is already running, that is the lower-risk choice.
dig +short NS example.comThe Manage DNS Records page
Go to Domains in your Wix account, select the Domain Actions icon next to the domain, and choose Manage DNS Records. Each record type has its own section: select + Add Record next to the type you need, fill in the fields and select Save. Wix's Email Marketing troubleshooting article adds that you can edit only one DNS record at a time, so save each record before you start the next.
- Host Name: leave it blank for the domain itself. Wix says that where instructions tell you to put @ in this field, you should leave it blank instead. For any other name, enter the part in front of your domain, such as _dmarc.
- Value: the record's text or, for a CNAME, the address the record points to. Wix's help does not say whether to add quotation marks or how long a value may be, so paste the value bare.
- The CNAME (Aliases) section asks for two confirmations: select Got it in the first pop-up message before filling in the record, and Save Changes in the second after saving it.
- TTL: Wix recommends leaving it at the default, and its TXT and CNAME steps include no TTL field. Wix's help does not say what the default is; the lookup at the end of this guide shows it.
Before changing anything, export the zone: the page offers Export as CSV and Export as BIND zone file. That copy is your way back if a change goes wrong.
If Wix reports “Hostname already in use”, another record already uses that host name. For mail records the usual reason is a CNAME at that name, because no other record can share a name with a CNAME.
Section TXT (Text) Host Name: leave blank
Value: v=spf1 include:_spf.google.com ~all
Section TXT (Text) Host Name: google._domainkey
Value: v=DKIM1; k=rsa; p=MIIBIjANBgkq... (the whole key)
Section TXT (Text) Host Name: _dmarc
Value: v=DMARC1; p=quarantine; rua=mailto:dmarc@example.comSPF: in the TXT section, not the SPF section
Wix's DNS page has a section for the SPF record type, but Wix's own help says to add SPF in the TXT section, because the SPF record type is no longer used by all platforms. That is correct and worth following: the separate SPF type was retired, and receivers look for SPF in a TXT record. Microsoft's instructions for Wix give the same advice.
In the TXT section, leave the Host Name blank and paste the value your mail provider gives you: v=spf1 include:_spf.google.com ~all for Google Workspace, or v=spf1 include:spf.protection.outlook.com ~all for Microsoft 365. Every other service that sends as your domain goes into the same record, and that record must stay the only one. Wix's help does not say so, but two SPF records make receivers treat the domain as having none.
Microsoft's own steps for Wix already end its value in -all. With Google Workspace, keep ~all only until a few weeks of DMARC reports show every sender passing, then switch the ending to -all: Microsoft's SPF documentation recommends -all because, without it, DMARC cannot act on a message that fails SPF and has no DKIM signature.
Google Workspace bought from Wix does part of this for you: Wix says the MX records are added automatically on a domain connected by name servers. Its Google Workspace article says nothing about SPF or DKIM, so add both yourself, with the values from Google's Admin console.
DKIM: the selector goes in Host Name
Wix's DKIM article says to enter the DKIM selector under Host Name and the DKIM signature under Value, and that the key can be 2048 or 1024 bits. Choose 2048. What Wix calls the selector here is everything in front of your domain in the record's name: for Google Workspace that is google._domainkey, the name Google gives the record.
A 2048-bit key is about 410 characters, longer than the 255 a single DNS string can hold, and Wix's help does not say how it stores such a value. Its own article offering 2048-bit keys suggests it accepts them; the DKIM checker will tell you whether the whole key was published, and if it cannot find the key at all, check what was saved in Host Name.
Microsoft 365 uses two CNAME records instead, added in the CNAME (Aliases) section: Host Name selector1._domainkey and selector2._domainkey, with the targets from Microsoft's Defender portal as the values. Then turn on signing in Defender. For Google Workspace, select Start authentication in the Admin console once the key is published.
Wix's own Email Marketing signs with CNAME records of its own, and on a domain bought from Wix, Wix says authentication starts automatically.
DMARC: the record Wix's help leaves out
We found no Wix article on adding a DMARC record, so here is what the record requires. Without one, receivers have nothing to apply to mail that fails SPF and DKIM for your domain, and nobody reports it to you. In the TXT section, enter _dmarc as the Host Name and, once SPF or DKIM passes for every service that sends as you, v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com as the Value, with a mailbox at your own domain for the reports. If you do not yet know every sender, p=none for a few weeks of reports is a monitoring step, not protection.
Check first whether a DMARC record already exists. Wix says one of the records Email Marketing adds on a domain bought from Wix sets up your DMARC record automatically, and Wix does not publish what that record contains. If the CNAME (Aliases) section already has an entry named _dmarc, your DMARC policy lives wherever it points, and a TXT record cannot be added beside it — one way to meet “Hostname already in use”. The DMARC checker reads the policy actually in force, wherever it is published.
If the checker finds that delegated policy at p=none, or sending its reports to no address of yours, know what is in your hands. You cannot edit it from Wix: the record sits at the far end of the CNAME, and Wix's help neither publishes its contents nor says how to change them. You can replace it. Export the zone first, so you have a way back, then delete the _dmarc CNAME and add your own TXT record at _dmarc as described above. Wix does not document what removing that CNAME does to Email Marketing, so check the domain's authentication status there afterwards: Wix says that if your domain is not authenticated, it automatically uses an authenticated Wix domain instead of yours. A policy you can neither read in your zone nor change can never be moved to enforcement, so we recommend replacing a delegated p=none, and replacing one that enforces but reports to nobody you know with your own record at the same policy or stricter.
One sentence in Wix's deliverability article presents DMARC as an alternative to SPF and DKIM. It is not one: DMARC only passes when SPF or DKIM passes for your domain, so it is the third record, not a substitute for the first two.
How to confirm it worked
Wix says propagation can take up to 48 hours, and that during it you may not receive email sent to the domain. In practice a new record is often visible much sooner; how long a changed one takes depends on the TTL the old value had.
The lookups below print each record with its TTL in seconds, which is also the easiest way to learn the default Wix applies. Expect one line starting v=spf1, the DKIM records your provider asked for, and one DMARC record.
Then run the SPF checker, the DKIM checker with your selector — google or selector1 — and the DMARC checker, and send a message to a mailbox outside your domain. Its Authentication-Results header should show spf=pass, dkim=pass and dmarc=pass.
# the second column of each answer is the TTL, in seconds
dig +noall +answer TXT example.com
dig +noall +answer TXT google._domainkey.example.com
dig +noall +answer CNAME selector1._domainkey.example.com
dig +noall +answer TXT _dmarc.example.comWhat commonly goes wrong on Wix
- Records added in Wix for a domain connected by pointing, which Wix never publishes.
- SPF added in the SPF section rather than the TXT section.
- @ typed into Host Name instead of leaving the field blank.
- A second SPF record added for a new service instead of merging it into the first.
- A DMARC TXT record attempted at a name Email Marketing already uses for a CNAME.
- Editing several records at once, when Wix saves them one at a time.
Sources, and how current this guide is
We read every page below on 2026-11-19 and wrote this guide from what they say, without screenshots, which go out of date faster than the text beside them.
From Wix's own help:
- Managing DNS Records in Your Wix Account (support.wix.com)
- Adding or Updating TXT Records in Your Wix Account (support.wix.com)
- Adding or Updating CNAME Records in Your Wix Account (support.wix.com)
- Adding or Updating SPF Records in Your Wix Account (support.wix.com)
- Adding a DKIM (TXT) Record (support.wix.com)
- Increasing Email Deliverability of Emails Sent from Your Business Email (support.wix.com)
- Email Marketing: Authenticating Your Custom Email Domain (support.wix.com)
- Google Workspace: Adding Google Workspace MX Records to Your Wix Account (support.wix.com)
- Pointing vs. Name Servers Domain Connection Methods (support.wix.com)
- About Domain Propagation (support.wix.com)
- Email Marketing: Troubleshooting the Authentication Process of Your Domain (support.wix.com)
From Google's and Microsoft's documentation, read the same day, for the steps that depend on the mail provider:
- Google Workspace Admin Help, Set up SPF (knowledge.workspace.google.com)
- Google Workspace Admin Help, Set up DKIM (knowledge.workspace.google.com)
- Microsoft Learn, Set up SPF to identify valid email sources for your Microsoft 365 domain (learn.microsoft.com)
- Microsoft Learn, How to use DKIM for email in your custom domain (learn.microsoft.com)
- Microsoft Learn, Connect your DNS records at Wix to Microsoft 365 (learn.microsoft.com)
Check your domain with the SPF checker