SPF records are a very important part of all email security strategies so you should understand how to create them for multiple DNS platforms. In this post we will talk about adding the SPF record to Google Cloud DNS.

You should already be setup with Google Cloud DNS and should already have a zone created for the domain you want to generate the SPF record for.

First lets create the SPF record that we want for our domain.

Using the MonitorDMARC SPF generator (or whichever one you would like) put in the information you want.

Click “Generate SPF” to get your SPF record.

Now that we have our record lets go to Google Cloud DNS to add it.

From within your DNS zone click “Add Standard”

Here you will want to leave DNS name blank if you are adding this record to the root domain like we are. The “Resource Record Type” should be TXT and the TTL information can be whatever you like. The TTL information is more important if you record will change frequently.

Next on the “TXT data” line add in the SPF record we generated earlier with double quotes around it.

If you already have a TXT record created you will need to edit it and add the SPF record as an additional line.

Click the “Create” button and you have now successfully set your SPF record.

Don’t forget to add monitoring to your domain through MonitorDMARC’s domain record monitoring.