ot::Dns::ResourceRecord::Init() method
Initializes the resource record by setting its type and class. Only sets the type and class fields. Other fields (TTL and length) remain unchanged/uninitialized.
Arguments
aType
The type of the resource record.
aClass
The class of the resource record (default is `kClassInternet`).