QueryType Property
The record type to query.
Syntax
ANSI (Cross Platform) int GetQueryType();
int SetQueryType(int iQueryType); Unicode (Windows) 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)
@property (nonatomic,readwrite,assign,getter=queryType,setter=setQueryType:) int queryType; - (int)queryType; - (void)setQueryType:(int)newQueryType;
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)
#define PID_DNS_QUERYTYPE 6 IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_DNS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_DNS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
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