QueryType Property
The record type to query.
Syntax
public DnsQueryTypes QueryType { get; set; }
enum DnsQueryTypes { qtAddress, qtNS, qtMD, qtMF, qtCName, qtSOA, qtMailBox, qtMailGroup, qtMR, qtNULL, qtWKS, qtPointer, qtHostInfo, qtMailInfo, qtMX, qtText, qtRP, qtAFSDB, qtX25, qtISDN, qtRT, qtAAAA, qtSRV, qtNAPTR, qtCERT, qtRevLookup }
Public Property QueryType As DnsQueryTypes
Enum DnsQueryTypes qtAddress qtNS qtMD qtMF qtCName qtSOA qtMailBox qtMailGroup qtMR qtNULL qtWKS qtPointer qtHostInfo qtMailInfo qtMX qtText qtRP qtAFSDB qtX25 qtISDN qtRT qtAAAA qtSRV qtNAPTR qtCERT qtRevLookup End Enum
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.