On 05.08.2013 19:34, Richard Mace wrote:
Hi,
What's the best/easiest/only was of getting a host name via an IP address?

Effectively, i'd like to "ping" a number of ip addresses and see what
the host name is so that I can present the list to the user.

Thanks in advance

Just in case: you are hopefully aware that one IP address can map to multiple host names?

What you are looking for is called "reverse DNS lookup" and while I don't know much about it maybe the wiki article is a valuable starting point for a search: http://en.wikipedia.org/wiki/Reverse_DNS_lookup

Regards,
Sven

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to