getRecordDataForRecord

cddnss.getRecordDataForRecord

Returns the DNS record data of the given record.

Parameters:

  • record The record for which the DNS record data is needed. [Record]

Returns:

cddnss.getRecordDataForRecord(record)
.then((recordData: RecordData) => {
console.log(recordData);
});