| Description | Hierarchy | Fields | Methods | Properties | 
type unaDNSRR = class(unaObject)
DNS RR parser
![]()  | 
constructor create(data: pointer; var ofs: int; maxLen: int; isQuestion: bool); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
property isQuestion: bool read f_isQuestion; | 
![]()  | 
property rclass: int read f_class; | 
![]()  | 
property rdata: pointer read f_rdata; | 
![]()  | 
property rdataObj: unaDNSRR_subType read f_rdataObj; | 
![]()  | 
property rdlen: int read f_rdlen; | 
![]()  | 
property rname: string read f_name; | 
![]()  | 
property rttl: uint32 read f_ttl; | 
![]()  | 
property rtype: int read f_type; | 
![]()  | 
constructor create(data: pointer; var ofs: int; maxLen: int; isQuestion: bool); | 
![]()  | 
destructor Destroy(); override; | 
| 
 Releases resources  | |
![]()  | 
property isQuestion: bool read f_isQuestion; | 
| 
 True if this RR is original question  | |
![]()  | 
property rclass: int read f_class; | 
| 
 RR class  | |
![]()  | 
property rdata: pointer read f_rdata; | 
| 
 RDATA (valid only if isQuestion is false)  | |
![]()  | 
property rdataObj: unaDNSRR_subType read f_rdataObj; | 
| 
 Parsed RDATA (valid only if isQuestion is false). Actual class depends on rtype property. For example, if rtype = c_DNS_TYPE_MX, subData will be unaDNSRR_MX This property could be nil, in which case you have to parse RDATA manually  | |
![]()  | 
property rdlen: int read f_rdlen; | 
| 
 RDATA length (valid only if isQuestion is false)  | |
![]()  | 
property rname: string read f_name; | 
| 
 RR name  | |
![]()  | 
property rttl: uint32 read f_ttl; | 
| 
 RR TTL (valid only if isQuestion is false)  | |
![]()  | 
property rtype: int read f_type; | 
| 
 RR type  | |
(c) 2012 Lake of Soft