When sending emails from your own domain name, you as the domain owner have to declare which mail servers that are allowed to send emails using your domain. This is an important security measure to prevent "spoofing" and unauthorized parties sending emails using your domain name.

This is where SPF and DKIM comes in. They are special DNS configurations that tells the world which mail servers you trust to send emails using your domain.

If your domain is using nameservers assigned to you by Templ, then we have already configured this for you and you can ignore this guide and go about your day. 😉

Conigure SPF and DKIM

To set the correct SPF and DKIM for your domain, you will have to login where you handle your domain's DNS settings, and configure your settings accordingly:

SPF
Name: @
Type: TXT
TTL: 300
Value: "v=spf1 include:spf.wootemple.com include:sendgrid.net ?all"

A note on SPF is that it's likely that you already have SPF configured for some other mail server. If that's the case, you can simply add our two mail servers to your current list.

DKIM
Name: mail._domainkey
Type: TXT
TTL: 300
Value: "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC5MKmb1rjplGX4tKwXaVfNes8Lr3DYg83CS/nf/nfeO+hKpVZDxKnOfnBJayxP4CAerVzRSxxdfIv2Q2U3C/51X1cbWM6QKQDzk3JGQEIcRnTmx3x5a7aeOCmd2psrgXki32rYchYgq7hF/4YsEnGUf9LqVE+4k+F6xu6oj51QIwIDAQAB"

Once correctly configured, your DNS settings should look something like this:

Did this answer your question?