Fixing reverse dns infra now setup and working to receive emails
This commit is contained in:
parent
488722aaff
commit
a681d29457
@ -5,7 +5,8 @@ resource vultr_instance mail {
|
||||
plan = var.mail.plan
|
||||
region = var.mail.region
|
||||
os_id = var.mail.os
|
||||
#
|
||||
enable_ipv6 = true
|
||||
|
||||
# Enable backups of the server in case we lose something for some reason
|
||||
backups = "enabled"
|
||||
backups_schedule {
|
||||
@ -21,4 +22,15 @@ resource vultr_instance mail {
|
||||
]
|
||||
}
|
||||
|
||||
resource vultr_reverse_ipv4 mail {
|
||||
instance_id = vultr_instance.mail.id
|
||||
ip = vultr_instance.mail.main_ip
|
||||
reverse = "box.mail.shockrah.xyz"
|
||||
}
|
||||
|
||||
resource vultr_reverse_ipv6 mail {
|
||||
instance_id = vultr_instance.mail.id
|
||||
ip = vultr_instance.mail.v6_main_ip
|
||||
reverse = "box.mail.shockrah.xyz"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user