On 2022-03-19 at 00:27:21 UTC-0400 (Fri, 18 Mar 2022 23:27:21 -0500)
Keith Kouzmanoff via mailop <ke...@kouzmanoff.com>
is rumored to have said:

I am sure it's going to depend on what function or library the MTA is using to check but is it safe to assume an SPF record with a CIDR range includes all ips in that range, useable or not.

Yes.

CIDR notation can describe a network, which has a network address and a broadcast address that don't refer to specific devices but it can also simply describe a range of IP addresses with bit-aligned endpoints, regardless of how they happen to be used in a network.

One way you can get confusion in what a CIDR-notated range actually means is the "bit-aligned" element. 192.168.1.120/29 is 192.168.1.120-192.168.1.127 inclusive, but so is 192.168.1.124/29. The /29 is a bitmask, not simply a length indicator.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire
_______________________________________________
mailop mailing list
mailop@mailop.org
https://list.mailop.org/listinfo/mailop

Reply via email to