Retrieves the host information corresponding to a network address.
Host = DNS.GetHostByIP (IP as String)
| Where | Type | Optional | Default | Description |
|---|---|---|---|---|
| IP | String | IP network address. |
String
ASP sample |
Set DNS = CreateObject("TCPIP.DNS")
On Error Resume Next
host = DNS.GetHostByIP(Request.ServerVariables("REMOTE_ADDR"))
If Err <> 0 Then
'some dns error - host not found, ...
End If
On Error Goto 0 |
Object for resolving IP adress and host name.
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