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!`);
});