Question

How to use google._domainkey as hostname for DNS record when setting up DKIM.

Posted February 21, 2021 928 views
Email

When setting up DKIM for gmail Google uses the value google._domainkey as the DNS Host name (TXT record name).

This video shows the correct name being added in a control panel.
https://www.youtube.com/watch?v=9UOQ-miNCAk

However when I use that value for my hostname DO adds my domain to it.

For example, google._domainkey.example.com.

Google isn’t able to find this DKIM record with the wrong name.

How do I fix this?

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.

×
Submit an Answer
1 answer

Hi @thr333one,

When adding the google._domainkey as a TXT DNS record or any DNS record infact, this is always added to the domain, it’s just how DNS works

Example:
I have a domain example.com
I want to add a TXT record to that domain. There are two possibilities, add it for the main domain - example.com or like in your case add it for google.domainkey. When you add it for google.domainkey it automatically picks it up as being part of the main domain - google._domainkey.example.com. That’s the proper way for a DNS TXT record or again any other DNS record to look like.

Please note that you might need to wait sometime before Gmail star seeing your DNS. Usually, the DNS propagation period can be up to 48 hours.

Regards,
KFSys