getRecordDataForDomain
cddnss.getRecordDataForDomain
Returns the DNS record data for the given domain.
Parameters:
domain
The domain for which the DNS record data is needed.[string]
Returns:
The data of the DNS records
[Promise<Array<
RecordData
>>]
cddnss.getRecordDataForDomain('example.com')
.then((recordData: Array<RecordData>) => {
console.log(recordData);
});
Last updated
Was this helpful?