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

Posted February 21, 2021 1.8k views

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.

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

For example,

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

I have a domain
I want to add a TXT record to that domain. There are two possibilities, add it for the main domain - 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 - 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.