QueryType Property
The record type to query.
Syntax
public int getQueryType(); public void setQueryType(int queryType);
Enumerated values: public final static int qtAddress = 1; public final static int qtNS = 2; public final static int qtMD = 3; public final static int qtMF = 4; public final static int qtCName = 5; public final static int qtSOA = 6; public final static int qtMailBox = 7; public final static int qtMailGroup = 8; public final static int qtMR = 9; public final static int qtNULL = 10; public final static int qtWKS = 11; public final static int qtPointer = 12; public final static int qtHostInfo = 13; public final static int qtMailInfo = 14; public final static int qtMX = 15; public final static int qtText = 16; public final static int qtRP = 17; public final static int qtAFSDB = 18; public final static int qtX25 = 19; public final static int qtISDN = 20; public final static int qtRT = 21; public final static int qtAAAA = 28; public final static int qtSRV = 33; public final static int qtNAPTR = 35; public final static int qtCERT = 37; public final static int qtRevLookup = 100;
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.
Default Value
1