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 188.8.131.52 (184.108.40.206), 30 hops max, 60 byte packets 1 220.127.116.11 20.031 ms 2 18.104.22.168 1.011 ms 3 22.214.171.124 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.