Next Topic

Previous Topic

Book Contents

Query

bool Query(string sDomainName,int iRecordType,bool bBypassCache=false);

Return values

Non zero if the function is successful; otherwise 0.

Parameters

Remarks

The function sends a query to the DNS server. The result can be extracted with one or more calls to the Next() function.

The following record types can be queried:

DNS record types reference can be found at: http://www.iana.org/assignments/dns-parameters