File tree Expand file tree Collapse file tree 1 file changed +29
-2
lines changed
Expand file tree Collapse file tree 1 file changed +29
-2
lines changed Original file line number Diff line number Diff line change 22
33Reverse IP utility.
44
5- Allows you to easily reverse IPs in your UNIX workflow for PTR or RBL
5+ Easily reverse IPs in your workflow, e.g. for PTR or RBL
66lookups.
77
8- ## Example
8+ ## IPv4 Example
99
1010``` bash
1111iprev 185.143.223.168
@@ -17,4 +17,31 @@ Will produce
1717168.223.143.185.
1818```
1919
20+ ## IPv6 Example
21+
22+ ``` bash
23+ iprev 2a02:790:1:d::100:164
24+ ```
25+
26+ Will produce
27+
28+ ```
29+ 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.
30+ ```
31+
32+ ## RBL lookup example
33+
34+ Easily check popular blocklists for an IP.
35+
36+ ``` bash
37+ dig +noall +answer $( iprev 185.143.223.168) zen.spamhaus.org
38+ ```
39+
40+ ## PTR Lookup Example
41+
42+ Get the hostname from an IP address.
43+
44+ ``` bash
45+ dig +short PTR $( iprev 52.203.88.233) in-addr.arpa
46+ ```
2047
You can’t perform that action at this time.
0 commit comments