Skip to content

v0.4.0

Choose a tag to compare

@klp2 klp2 released this 08 Feb 20:07
· 8 commits to main since this release

Consolidated output (default)

IPs with the same PTR record are now grouped into CIDR blocks by default, producing much more compact output. Use --expand / -e for per-IP output.

PTR pattern detection

ISP-style PTR records that embed the IP address (e.g., 1.2.3.4.static.example.net) are detected and consolidated by their common suffix (*.static.example.net). Supports forward/reversed dots, forward/reversed dashes, and embedded-with-prefix patterns.

Example

$ sr 198.51.100.0/30
198.51.100.0/30 *.static.example.net

Instead of:

$ sr -e 198.51.100.0/30
198.51.100.0    0.100.51.198.static.example.net
198.51.100.1    1.100.51.198.static.example.net
198.51.100.2    2.100.51.198.static.example.net
198.51.100.3    3.100.51.198.static.example.net