Autoformat dns.tf

This commit is contained in:
Pablo Ovelleiro Corral 2024-04-27 00:26:52 +02:00 committed by teutat3s
parent 8b7f547276
commit 2679b897a0
Signed by untrusted user: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -1,23 +1,23 @@
# https://registry.terraform.io/providers/namecheap/namecheap/latest/docs # https://registry.terraform.io/providers/namecheap/namecheap/latest/docs
resource "namecheap_domain_records" "pub-solar" { resource "namecheap_domain_records" "pub-solar" {
domain = "pub.solar" domain = "pub.solar"
mode = "OVERWRITE" mode = "OVERWRITE"
email_type = "MX" email_type = "MX"
record { record {
hostname = "flora-6" hostname = "flora-6"
type = "A" type = "A"
address = "80.71.153.210" address = "80.71.153.210"
} }
record { record {
hostname = "auth" hostname = "auth"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "ci" hostname = "ci"
type = "A" type = "A"
address = "80.71.153.210" address = "80.71.153.210"
} }
record { record {
hostname = "alerts" hostname = "alerts"
@ -26,84 +26,84 @@ resource "namecheap_domain_records" "pub-solar" {
} }
record { record {
hostname = "git" hostname = "git"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "stream" hostname = "stream"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "list" hostname = "list"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "obs-portal" hostname = "obs-portal"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "vpn" hostname = "vpn"
type = "A" type = "A"
address = "80.71.153.210" address = "80.71.153.210"
} }
record { record {
hostname = "cache" hostname = "cache"
type = "A" type = "A"
address = "95.217.225.160" address = "95.217.225.160"
} }
record { record {
hostname = "factorio" hostname = "factorio"
type = "A" type = "A"
address = "80.244.242.2" address = "80.244.242.2"
} }
record { record {
hostname = "collabora" hostname = "collabora"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "@" hostname = "@"
type = "ALIAS" type = "ALIAS"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
ttl = 300 ttl = 300
} }
record { record {
hostname = "chat" hostname = "chat"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "cloud" hostname = "cloud"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "turn" hostname = "turn"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "grafana" hostname = "grafana"
type = "A" type = "A"
address = "80.71.153.210" address = "80.71.153.210"
} }
record { record {
hostname = "hpb" hostname = "hpb"
type = "A" type = "A"
address = "80.71.153.239" address = "80.71.153.239"
} }
record { record {
hostname = "files" hostname = "files"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "search" hostname = "search"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "stickers.chat" hostname = "stickers.chat"
@ -112,80 +112,80 @@ resource "namecheap_domain_records" "pub-solar" {
} }
record { record {
hostname = "wiki" hostname = "wiki"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "mastodon" hostname = "mastodon"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "matrix" hostname = "matrix"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "tmate" hostname = "tmate"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "www" hostname = "www"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
record { record {
hostname = "@" hostname = "@"
type = "TXT" type = "TXT"
address = "v=spf1 include:spf.greenbaum.zone a:list.pub.solar ~all" address = "v=spf1 include:spf.greenbaum.zone a:list.pub.solar ~all"
} }
record { record {
hostname = "list" hostname = "list"
type = "TXT" type = "TXT"
address = "v=spf1 a:list.pub.solar ?all" address = "v=spf1 a:list.pub.solar ?all"
} }
record { record {
hostname = "_dmarc" hostname = "_dmarc"
type = "TXT" type = "TXT"
address = "v=DMARC1; p=reject;" address = "v=DMARC1; p=reject;"
} }
record { record {
hostname = "_dmarc.list" hostname = "_dmarc.list"
type = "TXT" type = "TXT"
address = "v=DMARC1; p=reject;" address = "v=DMARC1; p=reject;"
} }
record { record {
hostname = "modoboa._domainkey" hostname = "modoboa._domainkey"
type = "TXT" type = "TXT"
address = "v=DKIM1;k=rsa;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx/EqLMpk0MyL1aQ0JVG44ypTRbZBVA13MFjEntxAvowaWtq1smRbnEwTTKgqUOrUyaM4dVmli1dedne4mk/ncqRAm02KuhtTY+5wXfhTKK53EhqehbKwH+Qvzb12983Qwdau/QTHiFHwXHufMaSsCvd9CRWCp9q68Q7noQqndJeLHT6L0eECd2Zk3ZxJuh+Fxdb7+Kw68Tf6z13Rs+MU01qLM7x0jmSQHa4cv2pk+7NTGMBRp6fVskfbqev5nFkZWJ7rhXEbP9Eukd/L3ro/ubs1quWJotG02gPRKE8fgkm1Ytlws1/pnqpuvKXQS1HzBEP1X2ExezJMzQ1SnZCigQIDAQAB" address = "v=DKIM1;k=rsa;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx/EqLMpk0MyL1aQ0JVG44ypTRbZBVA13MFjEntxAvowaWtq1smRbnEwTTKgqUOrUyaM4dVmli1dedne4mk/ncqRAm02KuhtTY+5wXfhTKK53EhqehbKwH+Qvzb12983Qwdau/QTHiFHwXHufMaSsCvd9CRWCp9q68Q7noQqndJeLHT6L0eECd2Zk3ZxJuh+Fxdb7+Kw68Tf6z13Rs+MU01qLM7x0jmSQHa4cv2pk+7NTGMBRp6fVskfbqev5nFkZWJ7rhXEbP9Eukd/L3ro/ubs1quWJotG02gPRKE8fgkm1Ytlws1/pnqpuvKXQS1HzBEP1X2ExezJMzQ1SnZCigQIDAQAB"
} }
record { record {
hostname = "@" hostname = "@"
type = "MX" type = "MX"
address = "mail.greenbaum.zone." address = "mail.greenbaum.zone."
mx_pref = "0" mx_pref = "0"
} }
record { record {
hostname = "list" hostname = "list"
type = "MX" type = "MX"
address = "list.pub.solar." address = "list.pub.solar."
mx_pref = "0" mx_pref = "0"
} }
record { record {
hostname = "nachtigall" hostname = "nachtigall"
type = "A" type = "A"
address = "138.201.80.102" address = "138.201.80.102"
} }
record { record {
hostname = "nachtigall" hostname = "nachtigall"
type = "AAAA" type = "AAAA"
address = "2a01:4f8:172:1c25::1" address = "2a01:4f8:172:1c25::1"
} }
record { record {
hostname = "matrix.test" hostname = "matrix.test"
type = "CNAME" type = "CNAME"
address = "nachtigall.pub.solar." address = "nachtigall.pub.solar."
} }
# SRV records can only be changed via NameCheap Web UI # SRV records can only be changed via NameCheap Web UI
# add comment # add comment