set up terranix matrix again
This commit is contained in:
parent
9f7b31fe57
commit
24618c8041
7 changed files with 212 additions and 140 deletions
|
@ -6,6 +6,9 @@ locals {
|
|||
normal_ttl = 12 * local.hours
|
||||
short_ttl = 30 * local.minutes
|
||||
very_short_ttl = 2 * local.minutes
|
||||
|
||||
orbi = "95.216.66.212"
|
||||
robi = "144.76.13.147"
|
||||
}
|
||||
|
||||
resource "namecheap_domain_records" "terranix" {
|
||||
|
@ -31,14 +34,14 @@ resource "namecheap_domain_records" "terranix" {
|
|||
|
||||
# matrix.terranix.org
|
||||
record {
|
||||
address = "144.76.13.147"
|
||||
address = local.orbi
|
||||
hostname = "matrix"
|
||||
mx_pref = 10
|
||||
ttl = local.short_ttl
|
||||
type = "A"
|
||||
}
|
||||
record {
|
||||
address = "144.76.13.147"
|
||||
address = local.orbi
|
||||
hostname = "element"
|
||||
mx_pref = 10
|
||||
ttl = local.normal_ttl
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue