Report this

What is the reason for this report?

How to create _dmarc.mydomain.com subdomain

Posted on September 7, 2020

Hello.

I am attempting to set-up a subdomain on the domain droplet with the NGINX server on Ubuntu 20.04 to implement a DMARC record for my outgoing Gmail through a WordPress SMTP plugin with preconfigured SPF & DKIM records. I did some research and found the following tutorial but unable to complete Step1 creating an “A” record with an error message “Name is not allowed to have an underscore in it”. Can someone please assist me by providing a link to a step by step instructions on accomplishing this task.

Thanks!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, It looks like you try to create new subdomain _dmarc for your domain. So, the message you get is 100% OK, domain name cannot contain underscore sign. If you want to create DMARC record, you need to add TXT record to your domain (or subdomain) that you use as email sender.

Example Let’s assume your domain is mydomain.com, and your droplet public IP address is 1.2.3.4. So, the records of your domain could look like that:

record type            host                 content
    A               mydomain.com.           1.2.3.4
  CNAME           www.mydomain.com.        mydomain.com.
   TXT          _dmarc.mydomain.com.      v=DMARC1;p=none;etc.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.