Powered By Blogger

Tuesday 5 March 2013

SPF

WHM editing DNS zone for SPF

SECTION A - Create a custom SPF record
1. Go to http://spf.pobox.com/wizard.html and use their automated wizard to generate an appropriate SPF entry
2. Enter your domain name at the top of the wizard. If you are unfamiliar with your DNS configuration most PZ users should enter “Yes” to the four questions next to DARK GREEN bubbles (A, MX, PTR, and ALL). Leave the LIGHT GREEN text boxes alone.
(NOTE: If you send e-mail through your ISP’s outgoing mailserver, enter THEIR domain in the box next to the light green “include” bubble)
3. In the box at the bottom of the wizard will be a text string something like this:
 “v=spf1 a mx ptr ~all” Copy it down (including the quotation marks).

SECTION B - Modify your DNS Zone Entry
This section actually adds the SPF TXT record to your domains DNS zone. You will need access to the cPanel WHM (Web Host Manager).
4. Log in to your WHM account.
5. Click on “Edit a DNS Zone” under “DNS Functions
6. Choose which domain you want to add a SPF record for from the box on the right.
7. The “Editing Zone” page will load, scroll down to “Add New Entries Below this Line”.
8. In the first clear box on the left (”domain”) write your fully qualified domain name
ie: yourdomain.tld.
(NOTE: The period at the END of the domain is NOT a mistake)
9. Leave “TTL” set to the default (14400)
10. Change “Record Type” to “TXT”
11. In the box to the right of TXT copy in your SPF string from SECTION A. If you skipped section A paste the following string into the box (include the quotation marks):
“v=spf1 a mx ptr ~all”
12. Click “Save” at the bottom of the page.
13. After a few moments you should get a message that Bind is reloading and that the zone has been modified.


SECTION C (optional) - Test your SPF Entry
 This site will let you run a fake validation test against your SPF entry to see if it’s formated correctly.
14. Wait ~4 hours for the zone to die and refresh:
15. Go to the SPF Test page at http://www.dnsstuff.com/pages/spf.htm
16. Enter an e-mail address from the domain you just modified in the top box and the IP Address of your SERVER in the bottom box (don’t use the IP the page auto-assigns you).
17. Click “Lookup”, if everything has been configured properly, you should get a “PASS” message. If you get a “Error: I could not get the SPF string…” message you need to wait longer for your previous zone entry to die.

No comments:

Post a Comment