# Is DKIM, SPF auto created when Siteworx account is created?

**URL:** <https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356>\
**Category:** SiteWorx\
**Tags:** spam, spf, dkim\
**Created:** [October 27, 2021, 3:58pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356 "2021-10-27T15:58:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![muneeb852](https://forums.interworx.com/user_avatar/forums.interworx.com/muneeb852/32/2024_2.png) [@muneeb852](https://forums.interworx.com/u/muneeb852)\
**Post date:** [October 27, 2021, 3:58pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/1 "2021-10-27T15:58:39Z")

</div>

Hello.  
I am logged into NodeWorx as admin at freshly installed InterWorx . When I created an account, I noticed that after going to **SiteWorx \> DNS Records** of that account I could see the DNS records but there was no **SPF** and **DKIM**.  
So, I had to go to the SPF and DKIM section and create it manually. It worked but as you know not everyone is technical and might think that why are there mails always landing in spam of email.

I created a workaround for SPF.

 ![image](https://forums.interworx.com/uploads/default/original/2X/6/66e5a98d47ef3d1ad649cd702f601f67b93de310.png)

As you can see in the above image at “System Services \> DNS Server \> Zones \> DNS Template” We can edit the template and I added a manual SPF record that whenever SiteWorx account is created this template will be applied and we will have SPF automatically created. but i could not found workaround for DKIM.

Now, I have 2 questions.

1. Is there any way that DKIM is also created automatically as soon as account is created.
2. Is my method of adding SPF record fine or does this leaves room for bugs, If it is not a good solution then what is the correct way to do it.

Thanks in advance.  
Regards, Muneeb Ahmed

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [October 27, 2021, 4:07pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/2 "2021-10-27T16:07:21Z")

</div>

Hello–

There is a feature request on file to automatically create DKIM records, however I do not have an ETA or guarantee. I did bump it with the devs, though.

I think that should be fine for the SPF records.

Thanks,  
-Jenna  
Friendly Neighborhood InterWorx Support Manager

---

<div class="post-metadata">

**Author:** ![muneeb852](https://forums.interworx.com/user_avatar/forums.interworx.com/muneeb852/32/2024_2.png) [@muneeb852](https://forums.interworx.com/u/muneeb852)\
**Post date:** [October 27, 2021, 4:08pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/3 "2021-10-27T16:08:50Z")

</div>

> [@IWorx-Jenna](#):
>
> Friendly Neighborhood InterWorx Support

Thanks for the update.  
Glad to know SPF workaround is okay.

---

<div class="post-metadata">

**Author:** ![IWorx-Jenna](https://forums.interworx.com/user_avatar/forums.interworx.com/iworx-jenna/32/41_2.png) [@IWorx-Jenna](https://forums.interworx.com/u/IWorx-Jenna)\
**Post date:** [October 27, 2021, 4:10pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/4 "2021-10-27T16:10:04Z")

</div>

Hi again–

I’m not certain from your post if you were able to create DKIM records or not, in general, so here is documentation on how to do so. It just can’t be done from the DNS Zones page for a generalized template–it has to be done per domain from SiteWorx at this time: [How to: Manage DomainKeys — InterWorx documentation](https://appendix.interworx.com/current/siteworx/email/enable-domainkeys.html)

Thanks,  
-Jenna

---

<div class="post-metadata">

**Author:** ![muneeb852](https://forums.interworx.com/user_avatar/forums.interworx.com/muneeb852/32/2024_2.png) [@muneeb852](https://forums.interworx.com/u/muneeb852)\
**Post date:** [October 27, 2021, 4:11pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/5 "2021-10-27T16:11:21Z")

</div>

I was able to do it from SiteWorx interface. I just wanted it to be created itself like the behavior we see in cPanel.

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [October 27, 2021, 5:36pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/6 "2021-10-27T17:36:06Z")

</div>

Hi

I find dkims a user function and on some instances a dkims must not be created on dns server

Eg if email is handled on a different third party service such as gmail or O365 etc… but dns is handled on the nodeworx server

Your spf could just me set to v=spf1 a mx -all or ~all

You could also add CAA and dmarc but I guess it depends upon how far you want to go as both have implications and like dkims, we find it best to leave as user function

Many thanks

John

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [October 27, 2021, 6:12pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/7 "2021-10-27T18:12:13Z")

</div>

Hi

Sorry, you mention emails going to spam, there are many reasons why emails may goto spam, and SPF and DKIMS if not created/used woudl not in themselves send emails to spam (a lot of domains do not have SPF and DKIMS records)

Have you correctly set the PTR record for the IP Address you use for mail server (this is usually in most cases the server FQDN IP address but could be different). If not, then you need to create it (usually it requires a request to your provider to create the PTR (RDNS) with your record wording eg. n.n.n.n my.mail.url) otherwise it coudl be rejected at source as a spam sender or be classed in SRBL’s etc…

Many thanks

John

---

<div class="post-metadata">

**Author:** ![muneeb852](https://forums.interworx.com/user_avatar/forums.interworx.com/muneeb852/32/2024_2.png) [@muneeb852](https://forums.interworx.com/u/muneeb852)\
**Post date:** [October 27, 2021, 6:14pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/8 "2021-10-27T18:14:53Z")

</div>

Hi. @d2d4j  
As per this article `https://www.compassitc.com/blog/what-are-dkim-spf-and-dmarc` DKIM is authentication technique that use some encrypted headers to detect spoofed, or fake sender email addresses.  
Is there any explanation on why DKIM should not be created on DNS server ?  
To me DKIM and DNS server are two separate things. Please shine some light on this for me.  
Thanks

---

<div class="post-metadata">

**Author:** ![muneeb852](https://forums.interworx.com/user_avatar/forums.interworx.com/muneeb852/32/2024_2.png) [@muneeb852](https://forums.interworx.com/u/muneeb852)\
**Post date:** [October 27, 2021, 6:18pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/9 "2021-10-27T18:18:11Z")

</div>

Yes. My Reverse DNS is same as my hostname and at my domain registrar I have A record that points to that server. So, all the things are correctly configured. Actually, I am able to solve this problem and I know each point related to this stuff but I just wanted the functionality that whenever a new account or domain is created. SPF and DKIM would be auto created as well, Just like cPanel.

Also, Please let me know why can’t I post links ? 😭 I have to make them look like code to bypass this check here.

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [October 27, 2021, 6:31pm UTC](https://forums.interworx.com/t/is-dkim-spf-auto-created-when-siteworx-account-is-created/22356/10 "2021-10-27T18:31:01Z")

</div>

Hi

“Is there any explanation on why DKIM should not be created on DNS server ?  
To me DKIM and DNS server are two separate things. Please shine some light on this for me.”

The reason why some DKIMS should not be created on DNS server is because some mail platforms will check for DKIMS as well as SPF. So if DKIMS is created and exist, and email is handled on third party mail servers such as O365 but no DKIMS signing has been setup, then the email is classed as spam and should be rejected at source…

this is because the DKIMS record exists but the sending server has not signed the email with DKIMS

It is the same with Dmarc but Dmarc does not sign the mail, and as is the case with SPF, if wrongly set could cause mail source rejection at receiving mail server…

Have you adjusted your SPF to cover a and mx as these will give you better setup without having to include IP addresses etc… (a covers hosting and mx covers email)

Many thanks

John
