Re: [Lazarus] Getting a remote hostname

2013-08-07 Thread Andrew Brunner
Take the IP adress of 192.168.0.1 for an example... A resolver needs to construct a query string that looks like this: 1.0.168.192.in-addr.arpa And then pass that along to your dns server with PTR typed query. But if you don't know anything about DNS you can look at the examples.

Re: [Lazarus] Getting a remote hostname

2013-08-06 Thread Richard Mace
Thanks Sven On 5 August 2013 20:10, Sven Barth pascaldra...@googlemail.com wrote: 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

[Lazarus] Getting a remote hostname

2013-08-05 Thread Richard Mace
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 Richard -- ___ Lazarus

Re: [Lazarus] Getting a remote hostname

2013-08-05 Thread Sven Barth
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