dns-no-mail
alexhinds/dns-no-mail/digitalocean
Terraform Module
HCL
DIGITALOCEAN
Terraform module for managing DNS entries in DigitalOcean to help protect no-mail domains.
Install
module "dns-no-mail" {
source = "alexhinds/dns-no-mail/digitalocean"
version = "1.1.0"
}
README
Digital Ocean DNS no-mail This is a module to create DNS entries in Digital Ocean which will help prevent people spoofing your domain when sending emails. It creates 3 records: a SPF, a DMARC, and a DKIM entry; which combine to tell receiving SMTP servers that this domain doesn't allow anyone to send mail on it's behalf, that any mail from this domain should be rejected, and that the only valid key for this domain is null (and thus all checks fail). For more information see the gov.uk's guidance to protect domains that don't send email.
Inputs (2)
| Name | Type | Description | Default |
|---|---|---|---|
| domain | string | The domain to managed spf, dmarc, and dkim, records in. | required |
| ttl | number | The TTL for managed DNS entries. | 1800 |
Resources (1)
digitalocean_record
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.0
Cloud DIGITALOCEAN
★ Stars0
Forks2
Total downloads778
Inputs2
Resources1
LicenseMIT
Namespacealexhinds
Updated