Search This Blog

Monday, January 5, 2009

How to add an SPF Record

How to Add an SPF Record On a Windows DNS MMC

 

Step 1: Select and open the domain in which you wish to add the SPF record. Right-click in the record list and select "Other New Records..." from the menu.

Step 2: Select the Text (TXT) record type and click the "Create Record..." button.

Step 3: Type the SPF record data in the "Text" textbox. Click the OK button.

 

v=spf1 a –all

or,

v=spf1 mx -all

 

Step 4: If you are done adding new records, click the "Done" button. Note the new SPF TXT record.

 

For adding the SPF record to BIND or TinyDNS (djbdns)

If you run BIND

Paste this into your zone file:

yourdomain.com. IN TXT "v=spf1 a mx ptr include:yourdomain.com ~all"

When a mail server sends a bounce message, it uses a null MAIL FROM: and a HELO address that's supposed to be its own name. SPF will still operate, but in "degraded mode" by using the HELO domain name instead. Because this wizard can't tell which name your mail server uses in its HELO command, it lists all possible names, so there may be multiple lines shown below. If you know which hostname your mail server uses in its HELO command, you should pick out the appropriate entries and ignore the rest.

So this should also appear in DNS. You may or may not be in charge of the DNS for these entries; if you are, add them.

mail.yourdomain.com. IN TXT "v=spf1 a -all"

or, for your parent hosting domain or secondary MX record

smtp.yourHostParentDomain. IN TXT "v=spf1 a -all"

 

If you run tinydns (djbdns)

'yourdomain.com:v=spf1 a mx ptr include\072yourdomain.com ~all:3600

'mail.yourdomain.com:v=spf1 a -all:3600

'smtp.yourdomain.com:v=spf1 a -all:3600

 

 

Alessandro

No comments:

Giveaway of the Day

Giveaway of the Day

Soduko

Sudoku puzzles courtesy of Sudoku Shack