How are CNAME records generated and why are they important? What is an SPF Record?

One of the first things you will want to do when you set up your ActiveDEMAND account is to set your CNAME records. 


While you are in your DNS settings configuring your CNAME records, it would be wise to also add an SPF record - which we will discuss at the end of this article.

CNAME Records

If you go to Administration > Account Settings > Account Setup, you will find a "View Whitelabeling" button.


Clicking the "View Whitelabeling" button will open a tab that looks similar to the image below:


Where to add the landing page, links, and email sending domains? 

They should be set under Administration > Account Setup > CNAME Record Setup

For example, the landing page CNAME record is the very first record shown above:

Record type: CNAME
Host: www2
Points to:

That CNAME is determined by what you place as your landing page domain.

Your links are also populated based on that landing page domain, which is why the landing page and link will likely be very similar CNAME records:

Record type: CNAME
Host: link
Points to:

All the CNAME records including the landing page and link records can affect email deliverability. Still, there are some specific records that have the most impact on sending and delivering your emails.

The email CNAMEs will only show up when you have configured a default marketing reply email:

Once you have configured a default marketing reply email address, then you should see CNAMEs that look similar to this:

Record type: CNAME
Host: email2
Points to:

Record type: CNAME
Host: s1._domainkey
Points to:

Record type: CNAME
Host: s2._domainkey
Points to:

Where do I set these CNAME records?

You will need to configure this in the DNS settings for the domain name(s) you are using for your ActiveDEMAND account.

In most cases, this is just one domain name. In other words, if your landing page domain and your email domain are the same, all of the CNAME records need to be set in the DNS settings for that domain name.

In some other cases, users wish to use a different email domain name than the landing page. This can be done, however, you need to now put the right CNAME records in the DNS settings for the right domain name.

For example: If I am using for the landing pages but my email address I am using to send emails from is on, then you need to add the CNAMEs in the DNS settings as shown in the screenshot below:

Can I change my landing page and email domain names being used?

Yes. You should be able to update your landing page domain yourself under Administration > Account Settings > Account Setup. 

Changing the email domain may require you to contact support at 

Setting an SPF record

What is an SPF Record?

ActiveDEMAND uses SendGrid to send all emails on behalf of your domain name. SPF (Sender Framework Policy) records effectively act as a sign of 'permission' for us to send emails on your behalf. This can help bypass things like firewalls that might otherwise see these emails as being spoofed by someone else.

Setting an SPF Record

To add an SPF record you will actually be adding a TXT record in your DNS settings for your email sending domain. Since you are already in your DNS settings when adding the above CNAME records, you might as well add the SPF record.

Please note that you can only have one SPF record. So if you already have an existing SPF record, you will need to combine it with the new one. 

If you don't have an SPF record, you should add the following as a TXT record in your DNS settings for your email domain:

The SPF Record has to be set to the root domain, therefore no host value has to be entered, it should be left blank. If your DNS host doesn't allow a blank value, you can use '@'.


If you already have an spf record, add '' to it. 


Checking an SPF Record for Errors

A good tool to check your SPF record is 

In the Super Tool, type in your domain name and select the SPF Record Lookup option.

If your SPF record is failing, you will need to contact your DNS provider for assistance. ActiveDEMAND cannot tell you what your SPF record should be, all we can say is that it must have '' in it.

In the example below, this record is not erroring out and should improve your email deliverability. 


Was this article helpful?
1 out of 1 found this helpful



Please sign in to leave a comment.