Getting your reverse DNS entry is easy:
$ curl -4 icanhazptr.com ord.icanhazip.com $ curl -6 icanhazptr.com ord.icanhazip.com
Traceroutes are straightforward as well:
$ curl -4 icanhaztrace.com traceroute to 18.104.22.168 (22.214.171.124), 30 hops max, 60 byte packets 1 126.96.36.199 20.031 ms 2 188.8.131.52 1.011 ms 3 184.108.40.206 107.976 ms ... $ curl -6 icanhaztrace.com traceroute to 2001:4801:7818:6:abc5:ba2c:ff10:275f (2001:4801:7818:6:abc5:ba2c:ff10:275f), 30 hops max, 80 byte packets 1 2a01:7e00:ffff:0:8a43:e1ff:fea3:fa7f 2.183 ms 2 2001:4d78:fe01:2:1:3:b90:1 1.330 ms 3 2001:978:2:45::d:1 8.388 ms ...
While this sits in beta, here are some things to keep in mind:
- If a PTR record doesn’t exist for your IP address, your IP address will be returned
- Failing traceroutes will cause your IP address to be returned
- A PTR record will be chosen at random if multiple PTR records are returned
- PTR lookups for traceroutes are currently disabled
Let me know if you find any bugs.