Link to home
Start Free TrialLog in
Avatar of yarek
yarekFlag for France

asked on

delphi convert IP to domain name

I have for instance an IP address : which is the IP for 
(ping gives me
How can I re-verse the PING search, that is GIVEN the IPAdress, get the domain name

Avatar of 2266180
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Maybe this will work

var s: TClientSocket
  s := TClientSocket.Create();
  s.Address := Input;
  s.Active := True;
Then when it's connected you can get the host. You can write it in Connect event handler
  Output := s.Host;
that requires a connection to the host. the host might be behind a firewall or jsut not have teh prot open to which you will connect. so it's not exactly a good solution :)
Avatar of Lukasz Zielinski
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup Zone:
accept ciuly's comment as answer {http:#17519361}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Experts Exchange Cleanup Volunteer