> 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/removerecord.md).

# 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]`&#x20;

####

#### Returns:

* `[Promise<void>]`

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