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
Happy digging !