Add matrix SRV record

This commit is contained in:
Jake Howard 2020-03-20 22:11:43 +00:00
parent 5564709544
commit 5bb2c3b868
Signed by: jake
GPG Key ID: 57AFB45680EDD477

View File

@ -107,3 +107,20 @@ resource "cloudflare_record" "theorangeonenet_snippets" {
type = "CNAME"
ttl = 1
}
resource "cloudflare_record" "theorangeonenet_srv_matrix" {
zone_id = cloudflare_zone.theorangeonenet.id
name = "_matrix._tcp"
type = "SRV"
ttl = 1
data = {
service = "_matrix"
proto = "_tcp"
name = "theorangeone.net"
priority = 10
weight = 0
port = 8448
target = cloudflare_record.jakehowardtech_matrix.hostname
}
}