Skip to main content
  1. Oldposts/

New icanhaz features: reverse DNS and traceroutes

After adding some upgrades for, I wanted to go a bit further. Adding reverse DNS (PTR) lookups and traceroutes seemed like a decent idea!

Want to beta test some new features on and Give them a try!

Getting your reverse DNS entry is easy:

$ curl -4
$ curl -6

Traceroutes are straightforward as well:

$ curl -4
traceroute to (, 30 hops max, 60 byte packets
 1  20.031 ms
 2  1.011 ms
 3  107.976 ms
$ curl -6
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.