infra/terraform/dns.tf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

333 lines
7 KiB
Terraform
Raw Normal View History

# https://registry.terraform.io/providers/namecheap/namecheap/latest/docs
resource "namecheap_domain_records" "pub-solar" {
2024-04-26 22:26:52 +00:00
domain = "pub.solar"
mode = "OVERWRITE"
email_type = "MX"
record {
hostname = "nachtigall.wg"
type = "A"
address = "10.7.6.1"
}
record {
hostname = "flora-6.wg"
type = "A"
address = "10.7.6.2"
}
record {
hostname = "metronom.wg"
type = "A"
address = "10.7.6.3"
}
record {
hostname = "tankstelle.wg"
type = "A"
address = "10.7.6.4"
}
record {
hostname = "nachtigall.wg"
type = "AAAA"
address = "fd00:fae:fae:fae:fae:1::"
}
record {
hostname = "flora-6.wg"
type = "AAAA"
address = "fd00:fae:fae:fae:fae:2::"
}
record {
hostname = "metronom.wg"
type = "AAAA"
address = "fd00:fae:fae:fae:fae:3::"
}
record {
hostname = "tankstelle.wg"
type = "AAAA"
address = "fd00:fae:fae:fae:fae:4::"
}
record {
hostname = "flora-6"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.71.153.210"
}
2024-05-23 09:50:28 +00:00
record {
hostname = "metronom"
type = "A"
address = "49.13.236.167"
}
2024-05-27 15:51:02 +00:00
record {
hostname = "mail"
type = "A"
address = "49.13.236.167"
}
record {
hostname = "trinkgenossin"
type = "A"
address = "85.215.152.22"
}
record {
hostname = "trinkgenossin"
type = "AAAA"
address = "2a01:239:35d:f500::1"
}
record {
hostname = "delite"
type = "A"
address = "5.255.119.132"
}
record {
hostname = "delite"
type = "AAAA"
address = "2a04:52c0:124:9d8c::2"
}
record {
hostname = "blue-shell"
type = "A"
address = "194.13.83.205"
}
record {
hostname = "blue-shell"
type = "AAAA"
address = "2a03:4000:43:24e::1"
}
record {
hostname = "auth"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "ci"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.71.153.210"
}
record {
hostname = "buckets"
type = "A"
address = "85.215.152.22"
}
record {
hostname = "buckets"
type = "A"
address = "5.255.119.132"
}
record {
hostname = "buckets"
type = "A"
address = "194.13.83.205"
}
record {
hostname = "buckets"
type = "AAAA"
address = "2a01:239:35d:f500::1"
}
record {
hostname = "buckets"
type = "AAAA"
address = "2a04:52c0:124:9d8c::2"
}
record {
hostname = "buckets"
type = "AAAA"
address = "2a03:4000:43:24e::1"
}
record {
hostname = "*.buckets"
type = "CNAME"
address = "buckets.pub.solar."
}
record {
hostname = "web"
type = "CNAME"
address = "buckets.pub.solar."
}
record {
hostname = "*.web"
type = "CNAME"
address = "buckets.pub.solar."
}
2024-05-30 17:17:21 +00:00
record {
hostname = "tankstelle"
type = "A"
address = "80.244.242.5"
}
2024-04-26 22:23:43 +00:00
record {
hostname = "alerts"
2024-05-12 20:17:58 +00:00
type = "A"
address = "10.7.6.2"
2024-04-26 22:23:43 +00:00
}
record {
hostname = "git"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "rss"
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "stream"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "list"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "obs-portal"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "vpn"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.71.153.210"
}
record {
hostname = "cache"
2024-04-26 22:26:52 +00:00
type = "A"
address = "95.217.225.160"
}
record {
hostname = "factorio"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.244.242.2"
}
record {
hostname = "collabora"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "@"
2024-04-26 22:26:52 +00:00
type = "ALIAS"
address = "nachtigall.pub.solar."
ttl = 300
}
record {
hostname = "chat"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "cloud"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "turn"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "grafana"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.71.153.210"
}
record {
hostname = "hpb"
2024-04-26 22:26:52 +00:00
type = "A"
address = "80.71.153.239"
}
record {
hostname = "files"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
2023-10-29 21:14:13 +00:00
record {
hostname = "search"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
2023-10-29 21:14:13 +00:00
}
2024-04-29 22:52:07 +00:00
record {
hostname = "stickers.chat"
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "wiki"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "mastodon"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "matrix"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "tmate"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "www"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
record {
hostname = "@"
2024-04-26 22:26:52 +00:00
type = "TXT"
2024-05-27 15:51:02 +00:00
address = "v=spf1 a:mail.pub.solar a:list.pub.solar ~all"
}
record {
hostname = "list"
2024-04-26 22:26:52 +00:00
type = "TXT"
address = "v=spf1 a:list.pub.solar ?all"
}
record {
hostname = "_dmarc"
2024-04-26 22:26:52 +00:00
type = "TXT"
address = "v=DMARC1; p=reject;"
}
record {
hostname = "_dmarc.list"
2024-04-26 22:26:52 +00:00
type = "TXT"
address = "v=DMARC1; p=reject;"
}
2024-05-27 15:51:02 +00:00
record {
hostname = "mail._domainkey"
type = "TXT"
address = "v=DKIM1;k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDI333HhjmVmDYc5hYTtmB6o9KYb782xw+ewH1eQlpFcCMyJ1giYFeGKviNki9uSm52tk34zUIthsqJMRlz2WsKGgk4oq3MRtgPtogxbh1ipJlynXejPU5WVetjjMnwr6AtV1DP1Sv4n5Vz0EV8cTi3tRZdgYpG6hlriiHXbrvlIwIDAQAB"
}
2024-02-05 21:27:34 +00:00
record {
hostname = "modoboa._domainkey"
2024-04-26 22:26:52 +00:00
type = "TXT"
address = "v=DKIM1;k=rsa;p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAx/EqLMpk0MyL1aQ0JVG44ypTRbZBVA13MFjEntxAvowaWtq1smRbnEwTTKgqUOrUyaM4dVmli1dedne4mk/ncqRAm02KuhtTY+5wXfhTKK53EhqehbKwH+Qvzb12983Qwdau/QTHiFHwXHufMaSsCvd9CRWCp9q68Q7noQqndJeLHT6L0eECd2Zk3ZxJuh+Fxdb7+Kw68Tf6z13Rs+MU01qLM7x0jmSQHa4cv2pk+7NTGMBRp6fVskfbqev5nFkZWJ7rhXEbP9Eukd/L3ro/ubs1quWJotG02gPRKE8fgkm1Ytlws1/pnqpuvKXQS1HzBEP1X2ExezJMzQ1SnZCigQIDAQAB"
2024-02-05 21:27:34 +00:00
}
record {
hostname = "@"
2024-04-26 22:26:52 +00:00
type = "MX"
2024-05-27 15:51:02 +00:00
address = "mail.pub.solar."
2024-04-26 22:26:52 +00:00
mx_pref = "0"
}
record {
hostname = "list"
2024-04-26 22:26:52 +00:00
type = "MX"
address = "list.pub.solar."
mx_pref = "0"
}
record {
hostname = "nachtigall"
2024-04-26 22:26:52 +00:00
type = "A"
address = "138.201.80.102"
}
record {
hostname = "nachtigall"
2024-04-26 22:26:52 +00:00
type = "AAAA"
address = "2a01:4f8:172:1c25::1"
}
record {
hostname = "matrix.test"
2024-04-26 22:26:52 +00:00
type = "CNAME"
address = "nachtigall.pub.solar."
}
# SRV records can only be changed via NameCheap Web UI
# add comment
}