How to create SPF record for multiple IPs?

basZero picture basZero · May 24, 2011 · Viewed 146.4k times · Source

I do not find any guidelines regarding how to configure multiple IPs into an SPF record. So far I used (for example):

v=spf1 ip4:180.72.100.0/24 a mx ?all

But now I should add another range of IPs that are allowed, e.g.

v=spf1 ip4:180.72.100.0/24 ip4:180.20.111.0/24 a mx ?all

Is the second syntax correct? Thanks.

Answer

Joseph picture Joseph · Mar 6, 2014

The open SPF wizard from the previous answer is no longer available, neither the one from Microsoft.