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/pizzapim_nl.tf

62 lines
1.6 KiB
HCL

resource "powerdns_zone" "pizzapim_nl" {
name = "pizzapim.nl."
kind = "Native"
nameservers = ["ns.pizzapim.nl.", "ns0.transip.net.", "ns1.transip.nl.", "ns2.transip.eu."]
soa_edit_api = "DEFAULT"
}
resource "powerdns_record" "pizzapim_nl_a" {
zone = powerdns_zone.pizzapim_nl.name
name = "pizzapim.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "pizzapim_nl_txt" {
zone = powerdns_zone.pizzapim_nl.name
name = "pizzapim.nl."
type = "TXT"
records = ["\"v=spf1 ~all\""]
ttl = 60
}
resource "powerdns_record" "pizzapim_nl_caa" {
zone = powerdns_zone.pizzapim_nl.name
name = "pizzapim.nl."
type = "CAA"
records = ["0 issue \"letsencrypt.org\""]
ttl = 60
}
resource "powerdns_record" "_dmarc_pizzapim_nl_txt" {
zone = powerdns_zone.pizzapim_nl.name
name = "_dmarc.pizzapim.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_pizzapim_nl_a" {
zone = powerdns_zone.pizzapim_nl.name
name = "ns.pizzapim.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "ns_pizzapim_nl_aaaa" {
zone = powerdns_zone.pizzapim_nl.name
name = "ns.pizzapim.nl."
type = "AAAA"
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"]
ttl = 60
}
resource "powerdns_record" "social_pizzapim_nl_a" {
zone = powerdns_zone.pizzapim_nl.name
name = "social.pizzapim.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}