Solved

Finding DNS Name from IP

Posted on 2009-04-13
6
296 Views
Last Modified: 2012-05-06
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
Comment
Question by:akdreaming
  • 3
  • 2
6 Comments
 
LVL 93

Expert Comment

by:John Hurst
ID: 24132688
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
 

Author Comment

by:akdreaming
ID: 24132729
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
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 24132758
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 38

Accepted Solution

by:
Hypercat (Deb) earned 125 total points
ID: 24132788
Then, "arp -a [IP address]" will return the MAC address, provided that machine's IP address is in your ARP cache.
0
 

Author Comment

by:akdreaming
ID: 24132796
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
 
LVL 38

Expert Comment

by:Hypercat (Deb)
ID: 24132905
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Joining Domain Issue 4 54
Forcibly removing a 2003 server from the Domain 4 49
DNS Woes 7 51
Is it possible to host a website on a windows vps 4 60
Most DNS problems are VERY easily troubleshot and identifiable if you can follow the steps a DNS query takes. I would like to share the step-by-step a DNS query takes from the origin to the destination. _____________________________________________…
This article explains how a domain name may be inadvertently appended to all DNS queries. This exhibits as described below. (CODE)And / Or: (CODE) Cause This issue can occur in either of these two scenarios. EITHER 1. A Primary DNS S…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question