Avatar of yarek
Flag for France asked on

delphi convert IP to domain name

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

OUTPUT : www.yahoo.com

Avatar of undefined
Last Comment
Lukasz Zielinski

8/22/2022 - Mon

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

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 :)
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
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck