Copyright (C) 2005 Fumio Kawamata.
Created on November 3, 2005. Last modified on December 29, 2005.
I can obtain one IP address from one hostname as below.
Some host returns multiple IP addresses as below.
C:\>nslookup www.yahoo.co.jp Server: bind.dion.ne.jp Address: 18.104.22.168 Non-authoritative answer: Name: www.yahoo.co.jp Addresses: 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199, 188.8.131.52, 184.108.40.206, 220.127.116.11, 18.104.22.168, 22.214.171.124, 126.96.36.199
I did not know how I can obtain multiple IP addresses from one hostname. So, I asked at the atozedsoftware.indy.general newsgroup, news.atozedsoftware.com, and I could get the answer how to do that.
I have prepared this web page for the person who do not know how to do that yet. I hope this web page will help someone.
- Windows XP Professional Service Pack 2 (Japanese version)
- Delphi 6 Professional Update Pack 2 (Japanese version)
- Indy Version 10.0.52.
Source code of main unit(text file)
Archive file (Executable file and whole source codes) resolve100.zip (300,865 bytes)
Snap shot of the prgram