getRecordDataForRecords

cddnss.getRecordDataForRecords

Returns the DNS record data of the given records.

Parameters:

  • records The records for which the DNS record data is needed. [Array<Record>]

Returns:

  • The data of the DNS records [Promise<Array<RecordData>>]

cddnss.getRecordDataForRecords(records)
.then((recordData: RecordData) => {
console.log(recordData);
});