// how to fix
DNS record added at the wrong name
Your record exists, but not where receivers look for it, for example at _dmarc.yourdomain.com.yourdomain.com. Learn how the name field works and fix it.
What it means
Every DNS record has a name (also called host, label or subdomain) and a value. Receivers look for email records at exact names:
- SPF: the domain itself,
yourdomain.com - DMARC:
_dmarc.yourdomain.com - DKIM:
selector._domainkey.yourdomain.com, where the selector is given by your provider (for examplegoogleorselector1)
Most DNS providers automatically add your domain to what you type in the name field. If you type the full name, the domain is added twice.
Why it matters
A record at the wrong name is invisible to receivers. Your DNS panel shows it, so you think everything is fine, but tests say "no DMARC record" or "DKIM key not found".
How to check
- Use the Domain scanner at
/domain-scanner: if it does not find a record you just created, the name is a likely cause. - Send a test email from the home page: the report shows which DKIM selector and domain were looked up.
- Look up the doubled name yourself:
dig TXT _dmarc.yourdomain.com.yourdomain.com
If this returns your record, you found the problem.
How to fix it
- Open your DNS provider and look at how existing records are displayed. If the list shows short names like
wwwormail, the panel adds the domain for you. - Edit the record's name. Keep only the part before your domain.
- Delete any duplicate left at the wrong place, so you do not get confused later.
What to type in the name field
Record Type in a panel that adds the domain Full name SPF @ (or leave empty) yourdomain.com DMARC _dmarc _dmarc.yourdomain.com DKIM google._domainkey google._domainkey.yourdomain.com
Special cases
- The
@sign means "the domain itself". Some panels want@, others an empty field. Do not type@yourdomain.com. - The final dot. In some panels and in zone files, a name ending with a dot (
_dmarc.yourdomain.com.) is complete and nothing is added. Without the dot, the domain is added. - Subdomains. For DMARC on
news.yourdomain.com, the name is_dmarc.news. - Wrong domain. If you own several domains, check that you are editing the one you send from.
- Wrong type. SPF and DMARC are TXT records. DKIM is TXT, or CNAME when your provider says so (Microsoft 365 uses CNAMEs).
- Extra quotes or spaces copied with the value can also break the record. Paste the value exactly as your provider gives it.
Check that it is fixed
Wait a few minutes, then run the Domain scanner again: the record should now be found. Send a new test email from the Delivmail home page to confirm that SPF, DKIM and DMARC pass.
Check that it is fixed
DNS changes can take from a few minutes to a few hours. Then send a new test email or scan your domain again.
Related guides
- No SPF record on your domainYour domain does not say which servers may send email for it. Add one TXT record and receivers can tell your real emails from fakes.
- SPF error: too many DNS lookups (permerror)SPF allows at most 10 DNS lookups. Above that, the whole record breaks and receivers treat it as invalid. Here is how to slim it down.
- Several SPF records on one domainA domain must have only one SPF record. With two or more, SPF breaks for every email. Merge them into a single line.
- SPF fails: the sending server is not authorizedYour domain has an SPF record, but the server that sent your email is not in it. Find which service sent the email and add it.
- No DKIM signature on your emailsDKIM adds a digital signature that proves an email really comes from your domain. Turn it on in your email provider and publish its key in DNS.