Getting iPad name from dynamic IP
Hi,
I am trying to build a tool that needs to be aware of the incoming request's machine name and check if they are coming from a registered machine. I am not allowed to assign static IP's to the iPad's, and also not allowed to use NAT'ed addresses. Furthermore, I may not have access to the DHCP list. My basic idea was that I can have the iPad users register through a website, where they register their iPad's. Whenever I get a request (through a dynamic IP), I would use a tool like ping (or likewise) to get the iPad name and do a db lookup to confirm that the iPad is registered.
First of all, is this possible?
I can ping the iPad's dynamic IP but can't get information like hostname out using -a flag.
Let me provide more detail about my situation:
- I am on a Windows-based network with AD.
- Let's assume my ipad name is gorkemsipad.
- Let's assume my company adds ".win.ad.company.com" extension to each hostname.
- I want to be able to get the name (or dhcp client id) of my ipad from a Windows or Linux machine (not OSX).
If I try to ping gorkemsipad, gorkemsipad.local, or gorkemsipad.win.ad.company.com, hostname does not resolve.
I have the dhcp client id set to be the same as the ipad name (gorkemsipad).
Any help would be much appreciated.
Thanks!
Gorkem
iPad, iOS 4.2