Jump to content

Scan for hostnames on your network


rev.dennis
 Share

Recommended Posts

A big issue for me is to try and find hostnames for other network devices.


 


Here are few commands I run from my Ubuntu box that may help you out.


 


 

First try the ever popular nslookup



nslookup


To find a hostname in your local network by IP address you can use:



nmblookup -A


To find a hostname on the internet you could use the host program:



host


Or you can try running:



nbtscan


 

One of my favorite DNS tools is dig



dig -x




dig -t ANY +noall +answer




dig @your.dns.server


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...