Author Topic: DKIM & SPF statement in DNS  (Read 2552 times)

Colin

  • Newbie
  • *
  • Posts: 18
    • View Profile
DKIM & SPF statement in DNS
« on: November 09, 2019, 09:43:20 am »
How do i add a SPF and DKIM text record in DNS ?
I also want this to be global to all my email addresses.
Please can anyone help.

I have got to the point that i have an encryption key but i cant add it into my DNS, well i don't know how to
and whether it covers all my domains.
Please help.

If someone could give me a sample of how it should look like with the various options then that would really help.
Just a basic layout example.

Should the value look like this: ?   

mydomain.com IN TXT "p=encrypted code"
« Last Edit: November 09, 2019, 12:52:02 pm by Colin »

Loren Tedford

  • Jr. Member
  • **
  • Posts: 58
  • I love Amateur Radio, VPS and Minecraft!
    • View Profile
    • Welcome to Lorentedford.com

Colin

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: DKIM & SPF statement in DNS
« Reply #2 on: November 09, 2019, 12:47:50 pm »
I forgot to mention that i am hosting my own server and using EHCP
The problem i have is i don't know how to add this so that it works on all my email accounts.
for example:

mail._domainkey   IN   TXT   ( "v=DKIM1; h=sha256; k=rsa; t=y; "
     "p=My_great_Big_Encrypted_key_in_This_Space" )  ; ----- DKIM key mail for mydomain

Is it better to add the txt statement in a global template ?
I am really lost and just need some help in the right direction
I am lacking the knowledge on the format to enter the statements, how to do it global
and where the template file is so that i can edit it manually.
All i seam to come across are methods by using apps which defeats the object of learning.

Loren Tedford

  • Jr. Member
  • **
  • Posts: 58
  • I love Amateur Radio, VPS and Minecraft!
    • View Profile
    • Welcome to Lorentedford.com
Re: DKIM & SPF statement in DNS
« Reply #3 on: November 28, 2019, 01:19:33 pm »
Sorry I just got this.. This month has been awfully busy for me plus i too am rearranging my servers did you ever figure this out?

Loren Tedford

  • Jr. Member
  • **
  • Posts: 58
  • I love Amateur Radio, VPS and Minecraft!
    • View Profile
    • Welcome to Lorentedford.com
Re: DKIM & SPF statement in DNS
« Reply #4 on: November 28, 2019, 01:27:10 pm »
This here is an example of what i have but don't take my word for it might research around a bit.. Again so sorry about the delay in response I am have been so slammed with other projects that have been broken this month including a gaming server that was down for about a week with over 300 messages concerning it and one of my admins that I thought i trusted enough to manage the game server..

Its just been one of those months...

Best Wishes I will try and check back regularly on this through out the day..

earnolmartin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 302
    • View Profile
Re: DKIM & SPF statement in DNS
« Reply #5 on: December 01, 2019, 01:06:42 pm »
EHCP Force can seamlessly configure all of this for you.  Simply go to advanced settings in the panel and pick the master domain you want to use:



Now to view or retrieve the actual DNS record (if needed for something else or a more advanced operation), go to the DKIM domain in the control panel, and click on "Custom DNS".  You'll see a similar record to:



This functionality hooks into the custom DNS feature for the selected domain and updates everything needed to make it work automatically.

All domains configured in the panel will use that DKIM record for emails.
« Last Edit: December 01, 2019, 01:26:47 pm by earnolmartin »

Colin

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: DKIM & SPF statement in DNS
« Reply #6 on: December 28, 2019, 10:51:56 am »
Hi Again Loren, I just noticed you helped me again.
Thank you for replying,  ;)

I will check that over thanks it looks very useful.
Its basically the same issue that i am having in the different topic but different question.