Documentation » Getting started
Configure Your DNS Records
On this page
Want emails from your site to arrive with your own domain behind them? Start by authenticating your sending domain. MailHawk shows you the DNS records to add; your DNS provider is where you save them.
Before you start, make sure you can edit the domain’s authoritative DNS zone. This may be managed somewhere other than your website host. Ask your host or domain provider if you are not sure.
Open your domain’s records
Go to Tools > MailHawk > Domains. Find the domain you send from and click Configure. Keep this page open while you edit DNS in another tab.

MailHawk shows three records:
- DKIM TXT: lets receiving servers check the email’s signature.
- Return-Path CNAME: sets up the hostname used for delivery reports and bounces.
- SPF TXT: authorizes MailHawk alongside any other services allowed to send for that hostname.
Use the values shown for your domain. Another site’s examples may not match your records. Select and copy each complete Value; a long DKIM or SPF value may extend beyond the visible part of its field.

Check the Name before copying
Your DNS provider may call this field Name, Host or Hostname. Some providers expect a name relative to the zone you are editing; others accept the complete hostname.
Suppose your sending domain is academy.example.com, and your DKIM selector is selector. The complete DKIM hostname would be selector._domainkey.academy.example.com.
- Editing the example.com zone with relative names: enter selector._domainkey.academy.
- Editing a separately delegated academy.example.com zone with relative names: enter selector._domainkey.
- Using a field that expects the full hostname: enter selector._domainkey.academy.example.com.
These are examples, not the selector to use for your site. Keep your own selector and confirm the complete hostname that your provider will create.
For SPF at academy.example.com, a relative Name would normally be academy inside the example.com zone, or @ inside its own academy.example.com zone. The @ symbol means the root of the zone being edited, not automatically your sending subdomain.
MailHawk 1.4.0 displays @ in its SPF Name field. Do not copy that symbol blindly when sending from a subdomain. If you are editing the example.com zone, SPF for academy.example.com belongs at academy, not at that zone’s root.
Do not append the domain twice. Follow your provider’s instructions about full hostnames and trailing dots.
Add DKIM and Return-Path
- Create the DKIM record with type TXT.
- Enter the appropriate Name for your DNS zone and copy the DKIM Value exactly.
- Create the Return-Path record with type CNAME.
- Enter its Name using the same full-versus-relative check, and copy the target Value from MailHawk.
- Save the records using your provider’s TTL options.
Update SPF safely
Look for a TXT record beginning v=spf1 at the hostname you send from. If one exists, merge MailHawk’s authorization into it instead of creating a second SPF policy at the same hostname.
Keep other services you still use and keep the final all mechanism at the end. Do not replace your existing policy with an example that removes your other senders. If you are unsure how to combine it, ask your DNS provider or support before saving.
The published SPF example in the earlier guide was include:spf.mta01.mailhawk.io, giving v=spf1 a mx include:spf.mta01.mailhawk.io ~all. It is an example, not a universal replacement policy. Use the authorization shown in your current MailHawk DNS Value and keep your other senders; do not overwrite an existing policy with this example.
Add DMARC
Once SPF and DKIM are in place, add a DMARC record at _dmarc with the value v=DMARC1; p=none;. Gmail, Yahoo and Apple expect it, and Apple turns away most email from domains without one. See Add a DMARC record for what it does and how to add it.
Verify the result
Return to MailHawk and click Verify. Check the SPF, DKIM, and Return-Path rows individually. In this version, the overall success message checks SPF and DKIM; also inspect Return-Path.
If a record remains unverified, check the authoritative DNS provider, record type, complete Name, exact value, and duplicate suffixes. DNS caching can delay verification after a change; there is no universal instant-update time.
Your receiving MX records are separate. Do not replace working mailbox MX records to send through MailHawk, and do not treat Return-Path as a replacement for them.
Once verified, send a test from Tools > MailHawk > Test, then check the log and receiving folders. Authentication helps receivers assess your mail; it does not guarantee inbox placement.
Provider-specific DNS help
The original guide included these provider-specific SPF resources:
These are third-party mail-tester.com resources, not MailHawk or necessarily your provider’s current instructions. Interfaces change, and their relevance is not guaranteed. Follow your DNS provider’s current controls and use your own MailHawk record values.
Do not see your provider? Let us know which DNS service you use, or ask that provider where to edit its authoritative TXT and CNAME records.
Still stuck? Open a support ticket and we will help.