Skip to content

Custom PRTG sensor to check Sender Policy Framework (SPF) DNS records for a given domain. Supports both IP checking as well as direct keyword checking on the TXT record itself.

License

Notifications You must be signed in to change notification settings

VokkeSoftware/prtg-spf-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PRTG SPF Checker

Custom PRTG sensor to check Sender Policy Framework (SPF) DNS records

License

About this sensor

This is a custom sensor for PRTG that allows you to monitor whether specific IP addresses pass an SPF check for a given domain according to the SPF definition in RFC4408. The IP address and domain are passed as command line arguments.

This sensor is a Node.js project bundled as a PE/exe file through Pkg. If you don't like the idea of downloading a binary from Git, you can run the Pkg command yourself.

How to use

You can use this sensor in two ways. The first is to check whether an IP address passes the SPF conditions on the domain:

spf-checker.exe --checkType=ip --ipAddress=45.3.23.5 --domain=myDomain.com

The second is to simply ensure that a keyword is present within the SPF TXT record:

spf-checker.exe --checkType=keyword --keyword=mailgun --domain=myDomain.com

Building the sensor

If you wish to build the sensor run Pkg:

pkg . --targets node10-win-x64

About

Custom PRTG sensor to check Sender Policy Framework (SPF) DNS records for a given domain. Supports both IP checking as well as direct keyword checking on the TXT record itself.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published