• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

Finding DNS Name from IP

I'm looking for the DNS name and MAC address for an IP that I have.  What is the command line syntax for this?  My ip address is 172.22.93.206
0
akdreaming
Asked:
akdreaming
  • 3
  • 2
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
If you are trying to look up that IP, it lives in a range of IP's set aside for internal use.
... Thinkpads_User
0
 
akdreamingAuthor Commented:
Yes I understand this.  However, internally, I can ping this device...it lives on my network.  Can't I do perform a command to bring back the hostname of this device?
0
 
Hypercat (Deb)Commented:
The command you're looking for is "ping -a [IP address]" (without the quotes of course).  This will return the name of the device, provided that there is a NetBIOS name registered in DNS or WINS for that device.
0
Evaluating UTMs? Here's what you need to know!

Evaluating a UTM appliance and vendor can prove to be an overwhelming exercise.  How can you make sure that you're getting the security that your organization needs without breaking the bank? Check out our UTM Buyer's Guide for more information on what you should be looking for!

 
Hypercat (Deb)Commented:
Then, "arp -a [IP address]" will return the MAC address, provided that machine's IP address is in your ARP cache.
0
 
akdreamingAuthor Commented:
Yes, this actually does work.  But you are right...there isn't a NetBIOS name registered....can I force this to happen.  This is for a weird Xerox poster printer which is networked of course, but I'm trying to retrieve the NetBIOS name.  Does it have one?
0
 
Hypercat (Deb)Commented:
The only way to do this would be to enable dynamic DNS updates on the device, or manually register the device in DNS (or WINS if you're using it).  Most devices like this do have a host name, which can be registered in DNS, but sometimes the host name is just a series of numbers and letters.  For example, HP laser printers generally have a host name beginning with "NPI" followed by a series of letters and/or numbers that represent the last 6 digits of the MAC address.
0

Featured Post

Will You Be GDPR Compliant by 5/28/2018?

GDPR? That's a regulation for the European Union. But, if you collect data from customers or employees within the EU, then you need to know about GDPR and make sure your organization is compliant by May 2018. Check out our preparation checklist to make sure you're on track today!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now