SPF Record with multiple domains

Hey,

I've read a bunch of threads and THINK I've come up with the right settings, can anyone here look and help verify?

3 domains

1. www.alpha.com

2. www.beta.net

3 www.charlie.org

alpha.com is the primary site on the server I've kept the host name as the default linode one..Not sure if I need to change this.

the mx is mail.alpha.com with smtp.alpha.com as outbound. Below is my TXT Record

"v=spf1 a mx mx:mail.beta.net mx:mail.charlie.org"

In the DNS Settings of beta.net and charlie.org i have set up the mxx records. Note all domains point to the same IP address.

Does the above look correct? I saw some people recommend doing somethign different such as:

"v=spf1 a mx ip4:ip.address.here"

Any ideas on which would be correct?

Thanks

4 Replies

@FluxDevelopment:

Hey,

I've read a bunch of threads and THINK I've come up with the right settings, can anyone here look and help verify?

3 domains

1. www.alpha.com

2. www.beta.net

3 www.charlie.org

alpha.com is the primary site on the server I've kept the host name as the default linode one..Not sure if I need to change this.

the mx is mail.alpha.com with smtp.alpha.com as outbound. Below is my TXT Record

"v=spf1 a mx mx:mail.beta.net mx:mail.charlie.org"

In the DNS Settings of beta.net and charlie.org i have set up the mxx records. Note all domains point to the same IP address.

Does the above look correct? I saw some people recommend doing somethign different such as:

"v=spf1 a mx ip4:ip.address.here"

Any ideas on which would be correct?

Thanks

While what you proposed could theoretically be correct it does look rather a stretch that it would actually be (it would imply rather unconventional mail addresses being used).

It rather seems that you have misunderstood some of the keywords in SPF.

Keep in mind that most of the keywords are kind of shortcuts to including values of dns records found at specified domain names as a way of avoiding to explicitly list all of the IP numbers.

For instance, the "mx" keyword in SPF is a way of including what a specified MX record points to. "mx:example.org", where "example.org" would be the fqdn that has the MX record, would mean that the IP that the name in the MX record(s) found there resolve to are allowed to send mail addressed from this domain name that the SPF record is for.

"a" and "mx" by themselves (no domain name specified) means including the values of A and MX records found at the same fqdn that you are adding the SPF record.

If this is all gibberish to you, you may want to start out with using a wizard such as http://old.openspf.org/wizard.html

You will need a separate SPF record for each domain - the fact that they are all hosted on the same server doesn't really make much difference.

Assuming that ALL mail from the domains will be sent through the same server that you are using to receive the mail, the following SPF will work for each domain:

v=spf1 mx -all

You really only need the other entries if they actually resolve to different IP's.

EDIT: Just to be perfectly clear, you will need to add the above TXT record (or whatever you decide to use) on the alpha.com, beta.net, and charlie.org zones.

http://mxkit.com/webmaster-tools/spf-ge … ?title=213">http://mxkit.com/webmaster-tools/spf-generator?title=213

http://www.microsoft.com/mscorp/safety/ … id/wizard/">http://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/

Zach

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct