By MALbISH
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.
Accepted 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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
