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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.