Cloudflare DDNS Sync
StartSyncChangelog
  • Overview
  • Configuration
  • Functions
  • Cron Expression Syntax
  • Changelog
  • Functions
    • Constructor
    • getIp
    • getIpv6
    • getRecordDataForDomain
    • getRecordDataForDomains
    • getRecordDataForRecord
    • getRecordDataForRecords
    • removeRecord
    • syncByCrontime
    • syncOnIpChange
    • stopSyncOnIpChange
    • syncRecord
    • syncRecords
  • Types
    • DomainRecordList
    • Record
    • RecordData
    • RecordTypes
    • SingleSyncCallback
    • MultiSyncCallback
    • ZoneData
    • ZoneMap
Powered by GitBook
On this page

Was this helpful?

  1. Functions

getRecordDataForRecords

PreviousgetRecordDataForRecordNextremoveRecord

Last updated 5 years ago

Was this helpful?

cddnss.getRecordDataForRecords

Returns the DNS record data of the given records.

Parameters:

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

Returns:

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

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