Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 600 Bytes

README.md

File metadata and controls

47 lines (30 loc) · 600 Bytes

iprev

Reverse IP utility.

Easily reverse IPs in your workflow, e.g. for PTR or RBL lookups.

IPv4 Example

iprev 185.143.223.168 

Will produce

168.223.143.185.

IPv6 Example

iprev 2a02:790:1:d::100:164

Will produce

4.6.1.0.0.0.1.0.0.0.0.0.0.0.0.0.d.0.0.0.1.0.0.0.0.9.7.0.2.0.a.2.

RBL lookup example

Easily check popular blocklists for an IP.

dig +noall +answer $(iprev 185.143.223.168)zen.spamhaus.org

PTR Lookup Example

Get the hostname from an IP address.

dig +short PTR $(iprev 52.203.88.233)in-addr.arpa