ááááááááááDNS
ááááááááááClass
ááááááááááMemberáof áTCPIP

áDescriptioná
Object for resolving IP adress and host name.
áMethodsá
GetHostByIPáRetrieves the host information corresponding to a network address.
GetIPByHostáRetrieves the IP address corresponding to a host name.
áExamplesá
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
Simple resolutioná
Set DNS = CreateObject("TCPIP.DNS")
On Error Resume Next
ip = DNS.GetIPByHost("www.microsoft.com")
host = DNS.GetHostByIP(ip)
If Err <> 0 Then
  'some dns error - host not found, ...
End If
On Error GoTo 0

⌐ 1996 û 1998 PSTRUH Software, help@pstruh.cz