Join the conversation

Sign in to join this conversation, and others like it, in the communities you care about.

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

ZEIT / Now

DKIM configuration for FastMail

DKIM configuration for FastMail

ZEIT / Now · September 12, 2018 at 3:40pm
Hi,
Four days ago, I added new dns (CNAME) records (to a domain purchased from Zeit) for DKIM configuration of my personal email hosted on FastMail. I understand that dns records, sometimes, take about 24 hours to be active. However, until now, I am still getting "DKIM is not configured!" in my email settings.
Will you help with this, please?

September 12, 2018 at 3:47pm

Hi, can you see the record listed under now dns ls

The dns propagation normally is almost instant for new records. Following changes are subject to TTL.

  • reply
  • like

Can you share the domain name with us so that we can take a closer look into it

  • reply
  • like

September 13, 2018 at 5:57am

Thanks for your response, Jarmo.

Yes, I can see the records listed. My domain is refam.io

  • reply
  • like

September 19, 2018 at 2:28pm

@jarmo,

Any update about this?

  • reply
  • like

@jarmo,

Any update about this?

I had this issue on ProtonMail. Seems like CNAME records are discarding any A, AAAA, MX etc records while queried. I don't know if you understand me, but it means that once you got CNAME record, even the someone asking for MX record, it will try to query the address in the CNAME for MX record.

  • reply
  • like

I had this issue on ProtonMail. Seems like CNAME records are discarding any A, AAAA, MX etc records while queried. I don't know if you understand me, but it means that once you got CNAME record, even the someone asking for MX record, it will try to query the address in the CNAME for MX record.

Or if you are trying to have it working with the CNAME anyway, it would mean that you need to put the DKIM record on your CNAME's domain not the refam.io

Also I got nice tip for you. If you got your domain reconfigured, try to go to https://developers.google.com/speed/public-dns/cache and flush the cache of DNSes from here. Majority of email providers should catch up with your latest records on next query (as they use Google's DNS for queries).

  • reply
  • like

September 20, 2018 at 11:23am

I have configured SPF and DKIM for another domain hosted on hover before with no issues.

  • reply
  • like

My email works fine in my refam.io domain name which has been configured with MX records.

  • reply
  • like

Also, SFP has been successfully configured with TXT.

  • reply
  • like

Or if you are trying to have it working with the CNAME anyway, it would mean that you need to put the DKIM record on your CNAME's domain not the refam.io

Also I got nice tip for you. If you got your domain reconfigured, try to go to https://developers.google.com/speed/public-dns/cache and flush the cache of DNSes from here. Majority of email providers should catch up with your latest records on next query (as they use Google's DNS for queries).

What do you mean by that? The email provider recommended to configure my DKIM with CNAME on refam.io as follows:

CNAME Domain CNAME Data

fm1._domainkey.refam.io fm1.refam.io.dkim.fmhosted.com

fm2._domainkey.refam.io fm2.refam.io.dkim.fmhosted.com

fm3._domainkey.refam.io fm3.refam.io.dkim.fmhosted.com

  • reply
  • like

I have configured that with the following commands:

now dns add refam.io fm1._domainkey.refam.io CNAME fm1.refam.io.dkim.fmhosted.com

now dns add refam.io fm2._domainkey.refam.io CNAME fm2.refam.io.dkim.fmhosted.com

now dns add refam.io fm3._domainkey.refam.io CNAME fm3.refam.io.dkim.fmhosted.com

  • reply
  • like

And, I don't think I should flush cache of DNSes because this is simply a new domain name.

  • reply
  • like

September 24, 2018 at 5:58am

My background is not networking, but what I saw in my configuration is that once I make a CNAME for the top domain, any other record for this top domain, is disregard. In my opinion it is strange that you got working mail with CNAME record. Since I'm not a network guy, is hard to provide you with any more details. And don't worry, flushing the DNS cache (for let's say Google DNS) is not removing your domain :-)

  • reply
  • like

Just found the explanation of your issue and of what I meant: https://serverfault.com/q/613829 It should be clear. If not, give me a shout!

  • reply
  • like

September 27, 2018 at 7:09am

@mysliwiec-tech

, thanks for your feedback. To be honest, I don't understand most of the discussion from the resource you shared. In fact, I don't need to!!! The reason I chose to host my new domain name with Zeit is how easy things can be handled with Now CLI. I was planning to move other domains to it, but I will hold that thought for awhile.

The mentioned FastMail configurations work with hover.com and should work with any domain registry service. I believe, I must raise this issue to their technical support team.

Thanks for your help, again.

  • reply
  • like

September 28, 2018 at 2:16pm

It works now! I received the following feedback from technical support:

"Here are the commands modified to make this work.

`now dns add refam.io fm1._domainkey CNAME fm1.refam.io.dkim.fmhosted.com`

`now dns add refam.io fm2._domainkey CNAME fm2.refam.io.dkim.fmhosted.com`

`now dns add refam.io fm3._domainkey CNAME fm3.refam.io.dkim.fmhosted.com`"

like-fill
1
  • reply
  • like
Your message here...

*bold*_italic_`code````codeblock```