GetIPByHost

ActiveX/VBSScript registry editor  ActiveX NT User account manager  Export MDB/DBF from ASP
Url replacer, IIS url rewrite Active LogFile  Email export  ActiveX/ASP Scripting Dictionary object
 IISTracer, real-time IIS monitor
 Huge ASP upload - upload files with progress.
          Method 
          Member of  Simple DNS+Traceroute.DNS 

Description

Retrieves the IP address corresponding to a host name.

Syntax

IP = DNS.GetIPByHost (Host as String)
 
Where Type Optional Default Description
 Host  String     host name 

Returns

String

Examples

 Resolve host name  
Set DNS = CreateObject("TCPIP.DNS")

IP = DNS.GetIPByHost("www.microsoft.com")

See also

  Other links for GetIPByHost

Methods of DNS class

Simple DNS+Traceroute.DNS

Object for resolving IP adress and host name.

Simple DNS+Traceroute

      Object for simple IP adress and host name resolution, ASP and VB TraceRoute/ping.

© 1996 – 2006 Antonin Foller, Motobit Software, help{at}pstruh.cz, help v. 1.2.38