> For the complete documentation index, see [llms.txt](https://cddnss.knaup.pw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cddnss.knaup.pw/function-list/getrecorddataforrecords.md).

# 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`](/types/record.md)`>]`&#x20;

####

#### Returns:

* *The data of the DNS records* `[Promise<Array<`[`RecordData`](/types/recorddata.md)`>>]`

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