Find out who is behind that IP with a simple command (on Linux or Osx)

Time for some command line tomfoolery today. Ever wanted to know who was behind a certain IP address ? Getting spammy comments on your blog, or want to find out the name of the co-worker that is scanning your ports. You can of course hunt them down using whois.net but … maybe you just want to know the hostname of the machine ? ┬áThat will tell you a lot… so lets try DIG.

Using dig +short -x enter.the.ip.here
and you will see the DNS name of the system
in question.

Happy digging !

Related Posts