How to find hostname from ip in linux

We can find hostname from ip-address in multiple ways but some of useful and short commands are mentioned below:

$ nslookup <ip>
$ host <ip>


test1@dev[~]$ nslookup
Address: name =


test1@dev[~]$ host domain name pointer

Above marked in green is hostname

Please share If you like..Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on Yummly


Add a Comment
  1. rohit kumar sachan

    very good command it’s very helpful for mr

  2. 109943 302648extremely nice post, i undoubtedly adore this outstanding web site, carry on it 242035

  3. Pingback: URL

Leave a Reply

Your email address will not be published. Required fields are marked *

Fariddin Shaikh's Oracle DBA Blog © 2016 Being DBA
Go Back