Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Within the DHCP table of a router, clients that have sent their network name are listed with IP and MAC addresses. I need a way to get the host names that clients have sent. The router does not store these entries in it's DNS cache, so using host or nslookup fails to resolve IP addresses to hostnames.

The router cannot be accessed (via a control interface) or modified in any way, so rectifying this is not an option.

If a client machine is running SMB/Netbios, the machine name name can be discovered, but this will not work for devices such as Ipads, *nix boxes, etc.

Is there a means to achieve what I'm after?


Edit: The solution does not have to be timely, common or standard; hackish ways are welcome. I considered faking a DHCP request for each IP, hoping that the router would reveal information about the already-existing lease, but no cigar; further reading of DHCP ensured..

share|improve this question

1 Answer 1

Stop using DHCP and shift to static IP's instead - that way you can have a hosts table (or internal DNS or whatever), and as the IP addresses of the machines don't change you don't need to worry about dynamic updates.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.