54 lines
1.4 KiB
HCL
54 lines
1.4 KiB
HCL
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
|
|
}
|