Adding new domains, without veerfgication or key currently

This commit is contained in:
Moritz Graf 2025-05-29 11:19:45 +02:00
parent 04184e24e6
commit ee5b34bea9
1 changed files with 125 additions and 0 deletions

View File

@ -114,4 +114,129 @@ resource "ovh_domain_zone_record" "dkim_google_ameliegraf_de" {
fieldtype = "TXT"
ttl = 3600 # 1 hour TTL
target = "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxkPdqXqsRT9NMioibnQJ1MmOX4Yzp/pwpJAIEGawsVLwZCkkhZEH5SyT4CSVz3AS6/XG2Qgx/a2hYctkzXSXllBhFDvixie6oXCOsjqyfr7R5s4LaKb399djFFl/GC7gSV+PUAW6sI02vJPfmn8BaVRAkrH0OrcjX3LSaTS5RRR9QGNCx0JreM+ho2Mcp8VbZCwnCMu42IjilR1d+kQX+2x0+r6mO0eJfP2QKOVpRnBXgv/FT+8jE+dmusf8MFoXxKuX6QjUh5TBH2J9W5NHUiBB4eC2DTrceuO1bM8ycmaGS95e1BmYXMcwfJknhjIgK85jESA8uDa38PIrN/b7WwIDAQAB"
}
### graf-fam.de
resource "ovh_domain_zone_record" "mx_record_graf_fam_de" {
zone = "graf-fam.de"
fieldtype = "MX"
ttl = 60
target = "1 smtp.google.com."
}
resource "ovh_domain_zone_record" "google_domain_verification_graf_fam_de" {
zone = "graf-fam.de"
fieldtype = "TXT"
ttl = 60
target = "google-site-verification=xxxxxxx"
}
resource "ovh_domain_zone_record" "spf_graf_fam_de" {
zone = "graf-fam.de"
subdomain = "" # SPF record goes on the root domain
fieldtype = "TXT"
ttl = 60 # Time-to-live in seconds (1 hour is standard, but 60 is ok too)
target = "v=spf1 include:_spf.google.com ~all"
}
resource "ovh_domain_zone_record" "dmarc_graf_fam_de" {
zone = "graf-fam.de"
subdomain = "_dmarc" # DMARC record always goes on the _dmarc subdomain
fieldtype = "TXT"
ttl = 60 # 1 hour TTL
target = "v=DMARC1; p=none; rua=mailto:custom-admin@haumdaucher.de; ruf=mailto:custom-admin@haumdaucher.de"
}
resource "ovh_domain_zone_record" "dkim_google_graf_fam_de" {
zone = "graf-fam.de"
subdomain = "google._domainkey" # The DNS Host name provided by Google
fieldtype = "TXT"
ttl = 3600 # 1 hour TTL
target = "v=DKIM1; k=rsa; p=xxxxx"
}
### krassescheisse.de
resource "ovh_domain_zone_record" "mx_record_krassescheisse_de" {
zone = "krassescheisse.de"
fieldtype = "MX"
ttl = 60
target = "1 smtp.google.com."
}
resource "ovh_domain_zone_record" "google_domain_verification_krassescheisse_de" {
zone = "krassescheisse.de"
fieldtype = "TXT"
ttl = 60
target = "google-site-verification=xxxxxxx"
}
resource "ovh_domain_zone_record" "spf_krassescheisse_de" {
zone = "krassescheisse.de"
subdomain = "" # SPF record goes on the root domain
fieldtype = "TXT"
ttl = 60 # Time-to-live in seconds (1 hour is standard, but 60 is ok too)
target = "v=spf1 include:_spf.google.com ~all"
}
resource "ovh_domain_zone_record" "dmarc_krassescheisse_de" {
zone = "krassescheisse.de"
subdomain = "_dmarc" # DMARC record always goes on the _dmarc subdomain
fieldtype = "TXT"
ttl = 60 # 1 hour TTL
target = "v=DMARC1; p=none; rua=mailto:custom-admin@haumdaucher.de; ruf=mailto:custom-admin@haumdaucher.de"
}
resource "ovh_domain_zone_record" "dkim_google_krassescheisse_de" {
zone = "krassescheisse.de"
subdomain = "google._domainkey" # The DNS Host name provided by Google
fieldtype = "TXT"
ttl = 3600 # 1 hour TTL
target = "v=DKIM1; k=rsa; p=xxxxx"
}
### grabengasse7.de
resource "ovh_domain_zone_record" "mx_record_grabengasse7_de" {
zone = "grabengasse7.de"
fieldtype = "MX"
ttl = 60
target = "1 smtp.google.com."
}
resource "ovh_domain_zone_record" "google_domain_verification_grabengasse7_de" {
zone = "grabengasse7.de"
fieldtype = "TXT"
ttl = 60
target = "google-site-verification=xxxxxxx"
}
resource "ovh_domain_zone_record" "spf_grabengasse7_de" {
zone = "grabengasse7.de"
subdomain = "" # SPF record goes on the root domain
fieldtype = "TXT"
ttl = 60 # Time-to-live in seconds (1 hour is standard, but 60 is ok too)
target = "v=spf1 include:_spf.google.com ~all"
}
resource "ovh_domain_zone_record" "dmarc_grabengasse7_de" {
zone = "grabengasse7.de"
subdomain = "_dmarc" # DMARC record always goes on the _dmarc subdomain
fieldtype = "TXT"
ttl = 60 # 1 hour TTL
target = "v=DMARC1; p=none; rua=mailto:custom-admin@haumdaucher.de; ruf=mailto:custom-admin@haumdaucher.de"
}
resource "ovh_domain_zone_record" "dkim_google_grabengasse7_de" {
zone = "grabengasse7.de"
subdomain = "google._domainkey" # The DNS Host name provided by Google
fieldtype = "TXT"
ttl = 3600 # 1 hour TTL
target = "v=DKIM1; k=rsa; p=xxxxx"
}