Question

How to create _dmarc.mydomain.com subdomain

Posted September 7, 2020 215 views
NginxEmailDigitalOceanUbuntu 20.04

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!

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.

×
1 answer

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.
Submit an Answer