Searching...

Setting up SPF record inside DNS

One of the protections against recieving spam e-mails from unwanted domains is the e-mail validation system SPF.
SPF allows administrators to specify which mail servers can send mail for a given domain.
SPF is set up by adding a TXT record to DNS.

1. Logging in

Log into webhosting administration admin.hukot.net.

2. Editing DNS

Choose tab "Domains".

Choose the domain you want to set up SPF for from the list and click on button "Edit DNS".

3. Adding DNS record

Record type will be TXT and values can be:

  • value = spf1 mx -all
    • All mail servers set in MX records will be trustworthy
  • value = spf1 mx:mail.my-domain.cz -all
    • Only e-mails from mailserver mail.my-domain.cz will be trustworthy.

Parameter -all / ~all / ?all determines how strict it will be with spam evaluation.
Alternatively, we can enable evaluation using A record (parameter "a") or using PTR record (parameter "ptr").

Click on "Add".
New record will be applied relatively fast. In case you were editing the record, you have wait for TTL.

We're done! =)

Comments

To submit comment you have to be logged-in