DNS

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.
          Class 
          Member of  Simple DNS+Traceroute Use DNS object 

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

 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
 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
  Other links for DNS class

Simple DNS+Traceroute classes

Simple DNS+Traceroute enums

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