Configuring Microsoft 365 DKIM Records on Google Domains

Recently I was attempting to configure mail security for a client, but for some strange reason the CNAME records for 365 DKIM were being extremely stubborn. I found that the UI within G Domains is a little picky about how it will accept the values that 365 is asking you to provide. It will also attempt to auto-qualify your record value if it does not include a trailing period.

  1. Go to DNS settings in G Domains.
  2. Scroll to Custom resource records.
  3. In the Name (also called Host) field, enter the value suggested by 365.
    NOTE: The UI will not allow you to type a period in this field. You can however copy-paste the value in or edit it after you have saved the record to include it.
    selector1._domainkey
  4. Change the record type to CNAME.
  5. Leave the TTL value at 1hr/3600sec.
  6. In the Data field, enter the value that correlates to your custom domain. In the below example, I'm pretending that my custom domain name is "domainname.net" and my initial domain is the generated one I received when signing up for 365, "domainname.onmicrosoft.com".
    NOTE: Be sure to include the period (.) at the end of the name.
    selector1-domainname-com._domainkey.domainname.onmicrosoft.com.
  7. Click Add.
  8. Repeat steps 3-7 to add a record for selector2.
  9. Propagation is usually fairly quick - about 15mins, but can take up to 48hrs. You can verify that you're ready to enable DKIM on your custom domain by:
    1. Going to MXToolbox CNAME checker.
    2. Query the DKIM record as below:
      selector1._domainkey.domainname.com

Comments

Popular posts from this blog

Continuously Monitor Folder for New Files with PowerShell as a WindowsService

Unprotect All Excel Sheets for All Workbooks in a Directory

ChromeOS Flow by Hexxeh Install to HDD