MOTOBIT.COM - ASP upload, IIS utility GetIPByHost Method of DNS class

Method | Member of  Simple DNS+Traceroute.DNS | Changes | Purchase | Download

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

DNS.GetHostByIP

Other links for GetIPByHost

Methods of DNS class

GetHostByIP, GetIPByHost

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 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz