Specifying SPF IP Range

Posted on 2011-04-21
Last Modified: 2012-05-11
Quick question about SPF records across an IP address range.

Let's say I have a range of IP addresses that I want to allow - say it's: through

What would the syntax for that be?

Question by:erzoolander
    LVL 35

    Expert Comment

    by:Ernie Beek
    Should be: ip4:x.x.x.x/nn so the cidr notation. Have a look at:
    LVL 1

    Author Comment

    I read that - and that's what confused me.  For example - it says:

    "v=spf1 ip4: -all"
    Allow any IP address between and"

    Which isn't exactly what I'm looking for.

    Let's say I just want: through

    LVL 35

    Accepted Solution

    Then it would be:

    Try this to play with:
    LVL 1

    Author Closing Comment

    LVL 35

    Expert Comment

    by:Ernie Beek
    De nada ;)

    Thx for the points.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    DNS Dynamic Update 7 49
    DNS resolution according to source ip 20 71
    New MX Records 12 44
    Which domain should I use? 3 17
    This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
    One of the most often confused topics in the area DNS is the idea of GLUE records. Specifically, what they are, when they are needed, when they are provided, and how they are created. First, WHAT IS GLUE? To understand GLUE, you must first under…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now