Init()
Initializes the CNAME Resource Record by setting its type and class. Other record fields (TTL, length) remain unchanged/uninitialized.
ReadCanonicalName() const
Parses and reads the CNAME alias name from a message. Also verifies that the CNAME record is well-formed (e.g., the record data length `GetLength()` matches the CNAME encoded name).