re-add forgotten domains

This commit is contained in:
Pim Kunis 2023-06-17 23:15:37 +02:00
parent 0239c02c6d
commit 3d57370222
2 changed files with 145 additions and 89 deletions

View file

@ -1,142 +1,190 @@
resource "powerdns_zone" "geokunis2_nl" { resource "powerdns_zone" "geokunis2_nl" {
name = "geokunis2.nl." name = "geokunis2.nl."
kind = "Native" kind = "Native"
nameservers = ["ns.geokunis2.nl.", "ns0.transip.net.", "ns1.transip.nl.", "ns2.transip.eu."] nameservers = ["ns.geokunis2.nl.", "ns0.transip.net.", "ns1.transip.nl.", "ns2.transip.eu."]
soa_edit_api = "DEFAULT" soa_edit_api = "DEFAULT"
} }
resource "powerdns_record" "geokunis2_nl_a" { resource "powerdns_record" "geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "geokunis2.nl." name = "geokunis2.nl."
type = "A" type = "A"
records = ["84.245.14.149"] records = ["84.245.14.149"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "geokunis2_nl_aaaa" { resource "powerdns_record" "geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "geokunis2.nl." name = "geokunis2.nl."
type = "AAAA" type = "AAAA"
records = ["2a02:58:19a:f730:b62e:99ff:fe77:1bda"] records = ["2a02:58:19a:f730:b62e:99ff:fe77:1bda"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "geokunis2_nl_caa" { resource "powerdns_record" "geokunis2_nl_caa" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "geokunis2.nl." name = "geokunis2.nl."
type = "CAA" type = "CAA"
records = ["0 issue \"letsencrypt.org\""] records = ["0 issue \"letsencrypt.org\""]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "jenl_geokunis2_nl_a" { resource "powerdns_record" "jenl_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "jenl.geokunis2.nl." name = "jenl.geokunis2.nl."
type = "A" type = "A"
records = ["217.123.41.225"] records = ["217.123.41.225"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "wg_geokunis2_nl_a" { resource "powerdns_record" "wg_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "wg.geokunis2.nl." name = "wg.geokunis2.nl."
type = "A" type = "A"
records = ["84.245.14.149"] records = ["84.245.14.149"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "wg_geokunis2_nl_aaaa" { resource "powerdns_record" "wg_geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "wg.geokunis2.nl." name = "wg.geokunis2.nl."
type = "AAAA" type = "AAAA"
records = ["2a02:58:1:e::1afb"] records = ["2a02:58:1:e::1afb"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "wg4_geokunis2_nl_a" { resource "powerdns_record" "wg4_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "wg.geokunis2.nl." name = "wg4.geokunis2.nl."
type = "A" type = "A"
records = ["84.245.14.149"] records = ["84.245.14.149"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "wg6_geokunis2_nl_aaaa" { resource "powerdns_record" "wg6_geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "wg6.geokunis2.nl." name = "wg6.geokunis2.nl."
type = "AAAA" type = "AAAA"
records = ["2a02:58:1:e::1afb"] records = ["2a02:58:1:e::1afb"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "tuindersweijde_geokunis2_nl_a" { resource "powerdns_record" "tuindersweijde_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "tuindersweijde.geokunis2.nl." name = "tuindersweijde.geokunis2.nl."
type = "A" type = "A"
records = ["84.245.14.149"] records = ["84.245.14.149"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "ns_geokunis2_nl_a" { resource "powerdns_record" "ns_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "ns.geokunis2.nl." name = "ns.geokunis2.nl."
type = "A" type = "A"
records = ["84.245.14.149"] records = ["84.245.14.149"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "ns_geokunis2_nl_aaaa" { resource "powerdns_record" "ns_geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "ns.geokunis2.nl." name = "ns.geokunis2.nl."
type = "AAAA" type = "AAAA"
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"] records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "geokunis2_nl_txt" { resource "powerdns_record" "geokunis2_nl_txt" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "geokunis2.nl." name = "geokunis2.nl."
type = "TXT" type = "TXT"
records = ["\"protonmail-verification=e712bb186d5278b3775b413b8851ffc7740e845b\"", "\"sl-verification=sgrkojlcdgroiyjihxfleicgtpzgcb\"", "\"v=spf1 include:simplelogin.co ~all\""] records = ["\"protonmail-verification=e712bb186d5278b3775b413b8851ffc7740e845b\"", "\"sl-verification=sgrkojlcdgroiyjihxfleicgtpzgcb\"", "\"v=spf1 include:simplelogin.co ~all\""]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "geokunis2_nl_mx" { resource "powerdns_record" "geokunis2_nl_mx" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "geokunis2.nl." name = "geokunis2.nl."
type = "MX" type = "MX"
records = ["10 mx1.simplelogin.co.", "20 mx2.simplelogin.co."] records = ["10 mx1.simplelogin.co.", "20 mx2.simplelogin.co."]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "dkim02__domainkey_geokunis2_nl_cname" { resource "powerdns_record" "dkim02__domainkey_geokunis2_nl_cname" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "dkim02._domainkey.geokunis2.nl." name = "dkim02._domainkey.geokunis2.nl."
type = "CNAME" type = "CNAME"
records = ["dkim02._domainkey.simplelogin.co."] records = ["dkim02._domainkey.simplelogin.co."]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "dkim__domainkey_geokunis2_nl_cname" { resource "powerdns_record" "dkim__domainkey_geokunis2_nl_cname" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "dkim._domainkey.geokunis2.nl." name = "dkim._domainkey.geokunis2.nl."
type = "CNAME" type = "CNAME"
records = ["dkim._domainkey.simplelogin.co."] records = ["dkim._domainkey.simplelogin.co."]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "dkim03__domainkey_geokunis2_nl_cname" { resource "powerdns_record" "dkim03__domainkey_geokunis2_nl_cname" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "dkim03._domainkey.geokunis2.nl." name = "dkim03._domainkey.geokunis2.nl."
type = "CNAME" type = "CNAME"
records = ["dkim03._domainkey.simplelogin.co."] records = ["dkim03._domainkey.simplelogin.co."]
ttl = 60 ttl = 60
} }
resource "powerdns_record" "_dmarc_geokunis2_nl_txt" { resource "powerdns_record" "_dmarc_geokunis2_nl_txt" {
zone = powerdns_zone.geokunis2_nl.name zone = powerdns_zone.geokunis2_nl.name
name = "_dmarc.geokunis2.nl." name = "_dmarc.geokunis2.nl."
type = "TXT" type = "TXT"
records = ["\"v=DMARC1; p=quarantine; pct=100; adkim=s; aspf=s\""] records = ["\"v=DMARC1; p=quarantine; pct=100; adkim=s; aspf=s\""]
ttl = 60 ttl = 60
}
resource "powerdns_record" "files_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name
name = "files.geokunis2.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "files_geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name
name = "files.geokunis2.nl."
type = "AAAA"
records = ["2a02:58:19a:f730:b62e:99ff:fe77:1bda"]
ttl = 60
}
resource "powerdns_record" "cyberchef_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name
name = "cyberchef.geokunis2.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "cyberchef_geokunis2_nl_aaaa" {
zone = powerdns_zone.geokunis2_nl.name
name = "cyberchef.geokunis2.nl."
type = "AAAA"
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee03"]
ttl = 60
}
resource "powerdns_record" "inbucket_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name
name = "inbucket.geokunis2.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
}
resource "powerdns_record" "kms_geokunis2_nl_a" {
zone = powerdns_zone.geokunis2_nl.name
name = "kms.geokunis2.nl."
type = "A"
records = ["84.245.14.149"]
ttl = 60
} }

View file

@ -52,3 +52,11 @@ resource "powerdns_record" "ns_pizzapim_nl_aaaa" {
records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"] records = ["2a02:58:19a:f730:c8fe:c0ff:feff:ee07"]
ttl = 60 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
}