QueryType Property
The record type to query.
Syntax
int GetQueryType();
int SetQueryType(int iQueryType);
Possible Values
QT_ADDRESS(1), QT_NS(2), QT_MD(3), QT_MF(4), QT_CNAME(5), QT_SOA(6), QT_MAIL_BOX(7), QT_MAIL_GROUP(8), QT_MR(9), QT_NULL(10), QT_WKS(11), QT_POINTER(12), QT_HOST_INFO(13), QT_MAIL_INFO(14), QT_MX(15), QT_TEXT(16), QT_RP(17), QT_AFSDB(18), QT_X25(19), QT_ISDN(20), QT_RT(21), QT_AAAA(28), QT_SRV(33), QT_NAPTR(35), QT_CERT(37), QT_REV_LOOKUP(100)
Default Value
1
Remarks
Before a query is attempted, this property must be set to the desired record type. The records are defined as follows:
qtAddress (1) | Address Records |
qtNS (2) | Name Server Records |
qtMD (3) | Mail Destination Records |
qtMF (4) | Mail Forwarder Records |
qtCName (5) | Canonical Name Records |
qtSOA (6) | Start Of Authority Records |
qtMailBox (7) | MailBox Records |
qtMailGroup (8) | Mail Group Records |
qtMR (9) | MailBox Rename Records |
qtNULL (10) | NULL Records |
qtWKS (11) | Well Known Services Records |
qtPointer (12) | Pointer Records |
qtHostInfo (13) | Host Information Records |
qtMailInfo (14) | Mail Information Records |
qtMX (15) | Mail Exchange Records |
qtText (16) | Text Records |
qtRP (17) | Responsible Person Records |
qtAFSDB (18) | Service Records |
qtX25 (19) | X25 Records |
qtISDN (20) | ISDN Records |
qtRT (21) | Route Through Records |
qtAAAA (28) | AAAA Record |
qtSRV (33) | SRV Record (location of services) |
qtNAPTR (35) | NAPTR Record (Naming Authority Pointer) |
qtCERT (37) | Certificate record (Stores PKIX, SPKI, PGP, etc) |
qtRevLookup (100) | Reverse Lookup (Reverse Lookup) |
This property is not available at design time.
Data Type
Integer