This repository has been archived on 2023-12-26. You can view files and clone it, but cannot push or open issues or pull requests.
hermes/terraform/dns/pim_kunis_nl.tf

55 lines
1.4 KiB
Terraform
Raw Normal View History

2023-06-17 20:34:46 +00:00
resource "powerdns_zone" "pim_kunis_nl" {
name = "pim.kunis.nl."
kind = "Native"
nameservers = ["ns.pim.kunis.nl."]
soa_edit_api = "DEFAULT"
}
resource "powerdns_record" "pim_kunis_nl_a" {
zone = powerdns_zone.pim_kunis_nl.name
name = "pim.kunis.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "pim_kunis_nl_txt" {
zone = powerdns_zone.pim_kunis_nl.name
name = "pim.kunis.nl."
type = "TXT"
records = ["\"v=spf1 ~all\""]
ttl = 60
}
resource "powerdns_record" "_dmarc_pim_kunis_nl_txt" {
zone = powerdns_zone.pim_kunis_nl.name
name = "_dmarc.pim.kunis.nl."
type = "TXT"
records = ["\"v=DMARC1; p=reject; aspf=s; adkim=s; rua=mailto:wpux1bq8@ag.eu.dmarcian.com;\""]
ttl = 60
}
resource "powerdns_record" "ns_pim_kunis_nl_a" {
zone = powerdns_zone.pim_kunis_nl.name
name = "ns.pim.kunis.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "ns_pim_kunis_nl_aaaa" {
zone = powerdns_zone.pim_kunis_nl.name
name = "ns.pim.kunis.nl."
type = "AAAA"
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"]
ttl = 60
}
resource "powerdns_record" "wildcard_pim_kunis_nl_a" {
zone = powerdns_zone.pim_kunis_nl.name
name = "*.pim.kunis.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}