I just released ptrclassify is a small, dependency-free Python library and CLI t...

@adulau@infosec.exchange

I just released ptrclassify is a small, dependency-free Python library and CLI that infers likely IP usage from reverse-DNS PTR hostnames.

It is intentionally heuristic and multi-label. PTR naming is operator-controlled and is not authoritative evidence of how an address is actually used. The output therefore includes a confidence score, the text that matched, and the rule IDs that produced each label.

To summarize, the library is trying to guess usage (and a bit location) of an IP address based on its PTR records. It's based on a set of rules which can be updated easily.

#osint #cybersecurity #ptrclassify #opensource #dns

:github: github.com/adulau/ptrclassify
:python: module pypi.org/project/ptrclassify/