Jump to content

Recommended Posts

Posted

Afternoon,

 

Our spf record is as below, I have changed the IP

 

V=spf1 a md ptr IP4:12.14.10.10/20 ip4:10.20.30.10 and list goes on.

 

I’m checking our spf policy externally and coming back with warnings.

 

Using the ptr mechanism is not recommended.

 

Please advice.

 

Thanks

Posted

I take it that md in you post is really mx? and yeah if your mail is hosted in M365/ Google you will not be able to leverage PTR for validation in an SPF record, as a side note SPF records are limited to 10 DNS lookups so be mindful of that limitation as well (only mention this as you say "V=spf1 a md ptr IP4:12.14.10.10/20 ip4:10.20.30.10 and list goes on").

 

Here is some useful information around SPF (site is also good for DKIM and DMARC):

https://dmarcian.com/spf-syntax-table/

Posted
I take it that md in you post is really mx? and yeah if your mail is hosted in M365/ Google you will not be able to leverage PTR for validation in an SPF record, as a side note SPF records are limited to 10 DNS lookups so be mindful of that limitation as well (only mention this as you say "V=spf1 a md ptr IP4:12.14.10.10/20 ip4:10.20.30.10 and list goes on").

 

Here is some useful information around SPF (site is also good for DKIM and DMARC):

https://dmarcian.com/spf-syntax-table/

 

Our email is hosted in O365

Posted
Our email is hosted in O365

 

In that case PTR won't work - so remove it from SPF record.

 

I'm assuming you changed the IP addresses in your supplied record for privacy, as one of them is a private IP address.

 

The simplest O365 record would be something like:

 

v=spf1 include:spf.protection.outlook.com -all

 

But depending on your enviroment you may have to add further includes.

  • Thanks 1
Posted

You can get a lot of additional help here MyNCSC - https://my.ncsc.gov.uk/ free Service from the government - its excellent.

 

The blurb:

 

"MyNCSC is a UK government service from the National Cyber Security Centre (NCSC), bringing together a number of Active Cyber Defence (ACD) services into a single, coherent experience. These are currently the Mail Check, Web Check and Early Warning services, which report on an organisation's IT systems. Any UK organisation can sign up, but note that some services on MyNCSC limit their eligibility to certain sectors."

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...