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

removeRecord

cddnss.removeRecord

Removes the DNS record by the given record name.

Parameters:

  • recordName The name of the DNS record that should get deleted. [string]

Returns:

  • [Promise<void>]

cddnss.removeRecord(record.name)
.then(() => {
  console.log(`${record.name} was sucessfully removed!`);
});
PreviousgetRecordDataForRecordsNextsyncByCrontime

Last updated 5 years ago

Was this helpful?