...

View Full Version : [VB6] Domain to IP



jacksont123
08-14-2007, 06:58 PM
How can I use VB6 to get the IP address of a domain?

Example: http://baremetal.com/cgi-bin/dnsip?target=google.com

jacksont123
08-14-2007, 09:02 PM
It is possible to do it with command prompt with nslookup.
For example, nslookup google.com > file.txt will give you

Server: dnscache1.tor.bellsouth.com
Address: 218.254.141.13

Name: google.com
Addresses: 64.233.187.99, 64.233.167.99, 72.14.207.99

and export the results in a text file.
Is there a way to directly bring this information into VB6 without exporting it to a text file?

brownk4
03-14-2011, 11:54 PM
How can I use VB6 to get the IP address of a domain?

Example: http://baremetal.com/cgi-bin/dnsip?target=google.com

I use the website ip-details.com (http://www.ip-details.com) to get domain name.It is free to check here,you can try from here also....



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum