Classes |
| struct | DNS_A_DATA |
| struct | DNS_MX_DATA |
| struct | DNS_PTR_DATA |
| struct | DNS_SRV_DATA |
| struct | DNS_NULL_DATA |
| struct | DNS_RECORD_FLAGS |
| class | DnsRecord |
| struct | PIP4_ARRAY |
| class | PDNS::SRVRecord |
| class | MXRecord |
Namespaces |
| namespace | PDNS |
Defines |
| #define | P_HAS_RESOLVER 1 |
| #define | DnsRecordListFree PDnsRecordListFree |
| #define | T_SRV 33 |
| #define | T_NAPTR 35 |
| #define | DNS_STATUS int |
| #define | DNS_TYPE_SRV T_SRV |
| #define | DNS_TYPE_MX T_MX |
| #define | DNS_TYPE_A T_A |
| #define | DNS_TYPE_NAPTR T_NAPTR |
| #define | DnsFreeRecordList 0 |
| #define | DNS_QUERY_STANDARD 0 |
| #define | DNS_QUERY_BYPASS_CACHE 0 |
Typedefs |
| typedef DnsRecord | DNS_RECORD |
| typedef DnsRecord * | PDNS_RECORD |
| typedef DWORD | IP4_ADDRESS |
| typedef DWORD * | PIP4_ADDRESS |
Enumerations |
| enum | DNS_SECTION { DnsSectionQuestion,
DnsSectionAnswer,
DnsSectionAuthority,
DnsSectionAdditional
} |
Functions |
| void | PDnsRecordListFree (PDNS_RECORD rec, int FreeType) |
| DNS_STATUS | DnsQuery_A (const char *service, WORD requestType, DWORD options, PIP4_ARRAY, PDNS_RECORD *results, void *) |
| DNS_STATUS | PDNS::Cached_DnsQuery (const char *name, WORD type, DWORD options, void *extra, PDNS_RECORD *queryResults, void *reserved) |
| void | PDNS::Cached_DnsRecordListFree (PDNS_RECORD, int) |
| template<unsigned type, class RecordListType , class RecordType > |
| PBoolean | PDNS::Lookup (const PString &name, RecordListType &recordList) |
| void | PDNS::PrintOn (ostream &strm) const |
| SRVRecord * | PDNS::GetFirst () |
| SRVRecord * | PDNS::GetNext () |
| PDNS::NAPTRRecord * | PDNS::HandleDNSRecord (PDNS_RECORD dnsRecord, PDNS_RECORD results) |
| PBoolean | GetRecords (const PString &service, SRVRecordList &serviceList) |
| | return a list of DNS SRV record with the specified service type
|
| PBoolean | GetSRVRecords (const PString &service, SRVRecordList &serviceList) |
| | provided for backwards compatibility
|
| PBoolean | GetSRVRecords (const PString &service, const PString &type, const PString &domain, SRVRecordList &serviceList) |
| | return a list of DNS SRV record with the specified service, type and domain
|
| PBoolean | LookupSRV (const PString &srvQuery, WORD defaultPort, PIPSocketAddressAndPortVector &addrList) |
| | Perform a DNS lookup of the specified service.
|
| PBoolean | LookupSRV (const PString &domain, const PString &service, WORD defaultPort, PIPSocketAddressAndPortVector &addrList) |
| PBoolean | LookupSRV (const PURL &url, const PString &service, PStringList &returnStr) |
| void | PrintOn (ostream &strm) const |
| MXRecord * | GetFirst () |
| MXRecord * | GetNext () |
| PDNS::MXRecord * | HandleDNSRecord (PDNS_RECORD dnsRecord, PDNS_RECORD results) |
| PBoolean | GetRecords (const PString &domain, MXRecordList &serviceList) |
| | return a list of MX records for the specified domain
|
| PBoolean | GetMXRecords (const PString &domain, MXRecordList &serviceList) |
| | provided for backwards compatibility
|
Variables |
| PINDEX | PDNS::priPos |
| PWORDArray | PDNS::priList |
| PINDEX | lastIndex |