Adding DMARC, SPF, and DKIM records in hosting.com (formerly A2 Hosting)
A2 Hosting is now hosting.com. Depending on how and when your domain was bought, its DNS is edited in the Hosting Panel, in cPanel, or by hosting.com support. Here is how to tell which, and how to add the records.
Before you start: check your nameservers
A2 Hosting became hosting.com, and its nameservers carry three different names. All of them are hosting.com: ns1.stableserver.net to ns4.stableserver.net, ns1.a2hosting.com to ns4.a2hosting.com, and ns1.supercp.com to ns4.supercp.com (A2's reseller nameservers). Check yours:
dig +short NS yourdomain.com
If the answer ends in stableserver.net, a2hosting.com, or supercp.com, follow the steps below. If your nameservers point to another provider, edit your records there instead.
Step 1: Find the right DNS editor
Everything starts in the Hosting Panel at my.hosting.com. hosting.com uses one of three tools, depending on the domain:
- Hosting Panel DNS Editor. For standalone domains bought from April 28, 2025, and for some domains with hosting. Go to Products & Services, then DNS, select the domain, and choose Manage Domain (or Create zone). Open the DNS Editor tab and select Add New Record, then Create when you are done.
- cPanel Zone Editor. For domains with hosting, and for A2 Hosting domains bought before April 28, 2025. In cPanel, open Tools, Domains, then Zone Editor, and select Manage next to the domain.
- A support ticket. Standalone A2 Hosting domains have no editor of their own. Open a ticket with hosting.com support and include the exact record from Step 2.
Step 2: Add the TXT record
In the cPanel Zone Editor, open the Add Record dropdown and choose TXT. Fill in Name, TTL, and Record, then save. hosting.com asks for the fully qualified domain name in Name, so type the whole name, including your domain. Its docs suggest a TTL of 14400. The Hosting Panel DNS Editor's field names are not documented; use the same type, host, and value there.
DMARC
Type: TXT Name: _dmarc.yourdomain.com TTL: 14400 Record: v=DMARC1; p=none; rua=mailto:you@yourdomain.com
Start at p=none, then move past p=none once your reports are clean.
SPF
Type: TXT Name: yourdomain.com TTL: 14400 Record: v=spf1 include:_spf.yourprovider.com ~all
Keep a single v=spf1 record. If the zone already has one at your domain, edit that record to add your sender instead of adding a second.
DKIM
Type: TXT Name: selector._domainkey.yourdomain.com TTL: 14400 Record: v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG... (your full public key)
Paste the whole key as one value, then check in Step 3 that the lookup returns all of it.
MTA-STS pointer
Type: TXT Name: _mta-sts.yourdomain.com TTL: 14400 Record: v=STSv1; id=20261126000000
Pointer only. The policy file is served over HTTPS at mta-sts.yourdomain.com; you publish that file yourself, and the MTA-STS tab in trustyourinbox shows the exact file. TLS-RPT (_smtp._tls) is the same shape.
hosting.com quirks that bite
- Three names, one host.
supercp.com,a2hosting.com, andstableserver.netnameservers are all hosting.com. None of them means your DNS is somewhere else. - The purchase date decides the tool. An A2 Hosting domain bought before April 28, 2025 is edited in cPanel, not in the Hosting Panel DNS Editor.
- The full name in cPanel. cPanel wants
_dmarc.yourdomain.com, not just_dmarc, and your bare domain for a root record.
Step 3: Verify it published
dig +short TXT _dmarc.yourdomain.com dig +short TXT yourdomain.com | grep spf1 dig +short TXT selector._domainkey.yourdomain.com
Or paste the hostname into dns.google with type TXT. The record is live the moment the lookup returns it.
trustyourinbox picks it up by itself
If you copied the record from a trustyourinbox page, leave that page open. It watches public DNS and updates itself once the record is live. Otherwise, each protocol tab (DMARC, SPF, DKIM, MTA-STS) has a Scan now button.
Fix DNS issues with one click. See the exact change before it goes live.
Click the fix. We email you the exact record, wait five minutes, write it to Cloudflare or AWS Route 53, and read it back from public DNS. On any other DNS host, you get the record and a link to the right page. Included on every plan.
Was this page helpful?
Keep reading.
- Run a free DMARC auditPaste your domain and read your published SPF, DKIM, and DMARC back in plain English.
- How we change DNS safelyThe safety layers behind an automated fix, and why a hand edit deserves the same care.
- DMARC record builderAnswer a few questions and get the exact _dmarc value to paste in.
- Editing DNS at any providerNot actually on hosting.com? The universal walkthrough finds your real DNS host.