Get in touch with us!

Enable DKIM for a custom domain in Office 365 in five simple steps

DKIM | Enable DKIM for a custom domain in Office 365 in five simple steps

1. Log in to Exchange Online using PowerShell for Exchange Online

2. List all domains and see id DKIM is enabled or not:

Get-DkimSigningConfig

3. Get the cname for DNS for a specific domain

Get-DkimSigningConfig -Identity altitude365.se | fl *cname*

4. Create cname records in DNS for the domain you just listed, in this specific case I use Azure DNS.

Your records should be created according to this table:

Host name:            selector1._domainkey.<domain>

Value:  selector1-<domainGUID>._domainkey.<initialDomain>

TTL:                     3600

 

Host name:            selector2._domainkey.<domain>

Value:  selector2-<domainGUID>._domainkey.<initialDomain>

TTL:                     3600

In my case:

Host name:            selector1._domainkey.altitude365.se

Value:  selector1-altitude365-se._domainkey.Altitude365.onmicrosoft.com

TTL:                     3600

 

Host name:            selector2._domainkey.altitude365.se

Points to address or value:   selector2-altitude365-se._domainkey.Altitude365.onmicrosoft.com

TTL:                     3600

 

5. Wait until your DNS records are public or you get this error message when you run:

Set-DkimSigningConfig -Identity altitude365.se -Enabled $true

6. DONE!

2 Comments

  1. Thomas

    Hejsan!
    Tar gärna en lätt manuall också för att importera dessa commandon som inte känns igen på min maskin.
    Mvh
    Thomas

    Reply
    • Magnus.Bjork, Black Belt | Office 365 | Cloud Security

      Ladda ner PowerShell for Exchange Online, du hittar den i Exchange Online portalen, längst ner under fliken Hybrid.

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *