Hexillion
 

ServerAddrs property

Type: Collection of Long

A standard 1-based collection of DNS server IP addresses (in network byte order) taken from Windows' TCP/IP properties.

The RemoteAddr property defaults to the first address in this collection. ServerAddrs provides a convenient list of all local servers in case you want to try them after the first fails.

ASP/VBScript example

Dim oConn, lAddr, lIndex
Set oConn = Server.CreateObject("HexDns.Connection")
For lIndex = 1 to oConn.ServerAddrs.Count
    oConn.RemoteAddr = oConn.ServerAddrs(lIndex)
    '// Do query here
    If hexDnsErrSuccess = oConn.Error Then Exit For
Next

Show site map

contact us    privacy policy    legal information