Indy 9
|
TCNRecord = class(TNAMERecord)
Canonical Name resoure records are used to indicate the canonical or primary name for the owner. Canonical Name resoure records cause no additional section processing, but Canonical Names may choose to restart the query at the Canonical Name in certain cases. See the description of Canonical Name logic in RFC 1034 for details.
Canonical Name resoure records uses the same DNS packet layout as other TResultRecord-based responses, but extends the use of RData to include the following definition and format:
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ . . . CNAME . . . +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
TCNRecord extends TNameRecord to implement the specifics of accessing RData values as properties, including HostName. HostName is used to store the CNAMe value from the resource record. TCNRecord also overrides the Parse method to read the values in RData into their property counterparts.