# Domain Authentication Failed - Underscore not allowed in DNS record names

**URL:** <https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928>\
**Category:** Campaigns\
**Created:** [Mars 12, 2024, 4:07 UTC](https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928 "2024-03-12T04:07:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gtba](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/gtba/32/402_2.png) [@gtba](https://community.brevo.com/u/gtba)\
**Post date:** [Mars 12, 2024, 4:07 UTC](https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928/1 "2024-03-12T04:07:30Z")

</div>

Hi,

I am trying to authenticate my domain in Brevo. But my hosting service does not allow underscores for DNS TXT record names. So I cannot add mail.\_domainkey and \_dmarc. As for the Brevo code TXT record, my hosting service didn’t allow @ sign. For that, I just put my domain name, and it worked. I tried to add the domain name for DKIM record and DMARC record names but it didn’t work. Please help!

Thanks

---

<div class="post-metadata">

**Author:** ![ahudavert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/ahudavert/32/14_2.png) [@ahudavert](https://community.brevo.com/u/ahudavert)\
**Post date:** [Mars 12, 2024, 7:56 UTC](https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928/2 "2024-03-12T07:56:06Z")

</div>

Hi @gtba , thanks for posting on this community!

Could you please tell us which hosting service you’re using?

Thanks!

---

<div class="post-metadata">

**Author:** ![gtba](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/gtba/32/402_2.png) [@gtba](https://community.brevo.com/u/gtba)\
**Post date:** [Mars 12, 2024, 5:08 UTC](https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928/3 "2024-03-12T17:08:06Z")

</div>

Hi @ahudavert

My domain is registered at domains.lk but my website is hosted in Hostinger. I managed to get it working by pointing the DNS to the Hostinger nameservers and adding the TXT records there. Hostinger allows underscores.

Thanks

---

<div class="post-metadata">

**Author:** ![ahudavert](https://dub1.discourse-cdn.com/flex013/user_avatar/community.brevo.com/ahudavert/32/14_2.png) [@ahudavert](https://community.brevo.com/u/ahudavert)\
**Post date:** [Mars 13, 2024, 10:35 UTC](https://community.brevo.com/t/domain-authentication-failed-underscore-not-allowed-in-dns-record-names/928/4 "2024-03-13T10:35:22Z")

</div>

Hi @gtba , ok great to read that it worked in the end, thanks for posting your solution here 👍
