Discuss this help topic in SecureBlackbox Forum

TElDNSResolver.Lookup

TElDNSResolver     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Performs general DNS lookup.

Declaration

[C#/Java]
    int Lookup(string Criteria, TSBDNSResourceType InfoType, TElDNSResourceRecordSet FoundInfo, out byte SecurityStatus);

[VB.NET]
    Function Lookup(ByVal Criteria As String, ByVal InfoType As TSBDNSResourceType, ByVal FoundInfo As TElDNSResourceRecordSet, Out SecurityStatus As Byte) As Integer

[Pascal]
    function Lookup(Criteria : string; InfoType : TSBDNSResourceType; FoundInfo : TElDNSResourceRecordSet; out SecurityStatus : TSBDNSSecurityStatus) : integer;

[PHP]
    integer Lookup(string $Criteria, integer $InfoType, TElDNSResourceRecordSet $FoundInfo, integer &$SecurityStatus)

Parameters

  • Criteria - search criteria
  • InfoType - type of the resource record to search for
  • FoundInfo - RRset that has been found
  • SecurityStatus - security status of the RRset

TSBDNSResourceType values:


TSBDNSSecurityStatus values:

Return value

    Returns the lookup result.

Possible values:


Description

    Use this method to perform general DNS lookup. This function can be used to search for arbitrary resource records (RRs) by the resource name and resource record type/code.

Discuss this help topic in SecureBlackbox Forum