:GetAllRecords()


Class

     aprDNS()

 

Syntax

     :GetRecord(cHost, [nRetType]) -> cRecordData

 

Parameters

 

cHost

Host name to get information for.

 

nRetType

Optional: Determines the data type of the returned information

 

Return

Return all available record data for the current host

 

nRetType controls the type of data returned from the Method.

Available Constants are:

 

RETURN_DEFAULT

Return a String of the Record Information

 

RETURN_ARRAY

Return the Record Information in an Array

If no nRetType is specified, it defaults to RETURN_DEFAULT, String.

 

Description

Retrieves DNS Record data for the specified Host.

 

Data for the following record types are requested

 

DNS_RECORD_ADDRESS

Host address

 

DNS_RECORD_NS

Authoritative nameserver

 

DNS_RECORD_CNAME

Cannonical name (alias)

 

DNS_RECORD_WKS

Well known services

 

DNS_RECORD_PTR

Domain name

 

DNS_RECORD_HINFO

Host information

 

DNS_RECORD_MINFO

Mailbox information

 

DNS_RECORD_MX

Mail exchange host

 

DNS_RECORD_UINFO

User information

 

See Also

:GetHostByAddress(), :GetHostByName(), :GetHostName(), :GetHostAddress(), :GetHostInfo(), :GetRecord(), :GetAllRecords(), :GetHostServices()