Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure SendGrid Sender Authentication (Domain Verification) in GoDaddy

Unable to validate the domain with GoDaddy after adding the CNAMEs from SendGrid

like image 310
Sreepriya Sreekumar Avatar asked Jun 23 '20 09:06

Sreepriya Sreekumar


People also ask

How do I set up SendGrid sender authentication?

In the SendGrid UI, select Settings > Sender Authentication. In the domain authentication section, click Get Started. Next, add in information about your DNS host, and indicate whether you also want to set up link branding. Click Next.

Can I authenticate multiple domains in SendGrid?

Can I authenticate multiple domains? Yes, it's possible to authenticate multiple domains. When multiple authenticated domains exist on your account, SendGrid will use the from address for each email you send through SendGrid and match it to a domain and branded link.

How do I authenticate my domain in SendGrid?

In the menu on the left, go to Settings, then click on Sender Authentication. Under "Domain Authentication" click on Authenticate Your Domain (or Get Started if you haven't changed any settings in SendGrid yet).

What is the difference between GoDaddy and SendGrid CNAME?

Issue was that I was adding the entire CNAME which SendGrid was providing me, but GoDaddy just expects only the individual name, it appends the domain name to the CNAME during domain name resolution. So for example, if SendGrid asks you to add something like below as a CNAME in GoDaddy,

What is the difference between Gmail and SendGrid?

With Gmail, you would both send and receive emails. With Sendgrid, you would only send emails. the MX records for the domain would be specified as those for Gmail/Google. The trick is in correctly configuring the SPF records, which is a TXT type record in the domain name.

What is the default setting for SendGrid's automated security?

Automated security defaults to On. If your DNS provider does not accept underscores in CNAME records, you will have to turn off Automated Security to use MX and TXT records. When Automated Security is On, SendGrid generates 3 different CNAME records.


2 Answers

This was a simple fix. SendGrid asks you to add 3 CNAMES(5 CNAMES if branding needs to be enabled) for domain verification on your DNS Management Portal. Issue was that I was adding the entire CNAME which SendGrid was providing me, but GoDaddy just expects only the individual name, it appends the domain name to the CNAME during domain name resolution.

So for example, if SendGrid asks you to add something like below as a CNAME in GoDaddy,

  • ex0123.sub.domain.com, you should be adding only ex0123
  • for s1._domainkey.sub.domain.com you should be adding only s1._domainkey as the
  • For s2._domainkey.domain.com add only s2._domainkey

This fixed my issue, hope this helps you as well!

like image 197
Sreepriya Sreekumar Avatar answered Oct 16 '22 06:10

Sreepriya Sreekumar


In my case, I struggled for a day and found this doc which says:-

Some DNS hosts will automatically add your top-level domain to the end of DNS records you create, which can turn a CNAME for “email.domain.com” into “email.domain.com.domain.com”. Be sure to follow the convention on existing records in your DNS panel when adding new ones, as sometimes you will only need to add what is to the left of the top-level domain.

For example, a CNAME for “email.” becomes “email.domain.com”

In Godaddy, you dont have to put domain name in CNAME records, just put the subdomain. Also, you need to put the entire VALUE string provided by Sendgrid in value field in Godaddy. as of Sep 2021.

like image 1
illusionist Avatar answered Oct 16 '22 07:10

illusionist