Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [VB6] Domain to IP

    How can I use VB6 to get the IP address of a domain?

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

  • #2
    New Coder
    Join Date
    Jun 2006
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It is possible to do it with command prompt with nslookup.
    For example, nslookup google.com > file.txt will give you
    Code:
    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?

  • #3
    New to the CF scene
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by jacksont123 View Post
    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 to get domain name.It is free to check here,you can try from here also....


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •