Message class
A Message object represents the data structure sent over the wire in
the DNS protocol. It is used for both queries and replies.
Most commonly, you will handle it in response to a query. You will want to check the ResponseCode
and then look in the record collections for records sent back from the server.
Properties
| Id |
Short |
Message identifier |
| OpCode |
Short |
Type of query (one of the HexDnsMsgOpCode constants) |
| AuthAnswer |
Boolean, read-only |
Indicates this is a response from an authoritative name server for the
queried domain |
| Truncated |
Boolean, read-only |
Indicates this response message was truncated |
| RecursionDesired |
Boolean |
Specifies this query should be handled recursively |
| RecursionAvailable |
Boolean, read-only |
Indicates the responding server supports recursive queries |
| ResponseCode |
Short, read-only |
Error code for this response (one of the HexDnsMsgRcode constants) |
| IsResponse |
Boolean, read-only |
Indicates whether this message is a query or response |
| Questions |
Collection of Question |
1-based collection of questions for this message |
| AnswerRecords |
Collection of Record* |
1-based collection of records in response to a query |
| AuthRecords |
Collection of Record* |
1-based collection of records specifying authorities for the queried
domain |
| AddtlRecords |
Collection of Record* |
1-based collection of additional response records |
*or any Record-derived object
|