[Lazarus] Getting a remote hostname
pascaldragon at googlemail.com
Mon Aug 5 21:10:49 CEST 2013
On 05.08.2013 19:34, Richard Mace wrote:
> 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
More information about the Lazarus