Appreciate the assistance. Thank you.
I should have been more clear in my initial post. When I said there are a ‘full set’ of DNS records for (e.) there are not. For context, we send mail from three domains: corporate: contactcenterpipeline.com; marketing: e.contactcenterpipeline.com; and web-notifications: n.contactcenterpipeline.com. We have the records for (e.) required by SendGrid.
Nameservers are: NS gene.ns.cloudflare.com and NS sid.ns.cloudflare.com
Status: Active
We are using the SendGrid marketing dashboard, not API. We have our DNS hosted with Cloudflare. All of our SendGrid entries have proxy turned off, therefore link-flattening is available to turn on/off.
I had also reached out to SendGrid to have SSL links enabled. I followed their documentation which included setting Proxy to ‘on’ and generated a new SSL cert for (e.). After this, SendGrid support enabled SSL wrapped links.
1 SendGrid Doc
So at this point we have all SendGrid DNS set to Proxy.
This apparently caused havoc for our ESPs authentication. After hours of troubleshooting, I realized that when flattening is enabled, Cloudflare returns an IP address
, not a domain name. I don’t know the specifics of which authentication protocols this breaks, but our delivery went from ~98% to ~40% – when I disabled flattening, it came right back.
So at this point, I had disabled proxy and flattening for all SendGrid records.
Then when testing an email, I realized that we no longer had ‘branded-links.’ This seemed too coincidental, but in the SendGrid dashboard, branded-links were enabled and showed "verified.
The SendGrid documentation for branded-links, says:
When configuring CNAME records in Cloudflare, check the bottom of the DNS settings page and make sure “CNAME Flattening” is set to “Flatten CNAME at root”.
I have a total of 22 DNS records for SendGrid, across root and two subdomains. Apparently some of these records need to be proxied and some need to have flattening on and some off.
Below are the DNS records that I have related to e.contactcenterpipeline.com
I’ve bracketed numbers that I prefer not to post
A Records
o1.e.contactcenterpipeline.com. 1 IN A [111.11.111.111]
o2.e.contactcenterpipeline.com. 1 IN A [111.11.11.111]
CNAME Records
[111].e.contactcenterpipeline.com. 1 IN CNAME sendgrid.net. ;
[111]._domainkey.e.contactcenterpipeline.com. 1 IN CNAME
[111]._domainkey.e.contactcenterpipeline.com. 1 IN CNAME
[111]._domainkey.e.contactcenterpipeline.com. 1 IN CNAME
[111111].e.contactcenterpipeline.com. 1 IN CNAME [111111111.11111].sendgrid.net. ;
[111111].e.contactcenterpipeline.com. 1 IN CNAME sendgrid.net. ; sendgrid cf_tags=sendgrid,cf-proxied:false,cf-flatten-cname
** Update: today, working with SendGrid support, we seem to have the issue corrected. The “fix” was to turn Proxy on for the CNAME url7599.sendgrid.net. I haven’t had a lot of luck with SendGrid support in the past, so I’m trying to figure this out on my own.