mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Update mail server DNS to new server IP
This commit is contained in:
parent
7e51ba37b1
commit
03e58a9b84
1 changed files with 8 additions and 0 deletions
8
dns.tf
8
dns.tf
|
|
@ -31,6 +31,14 @@ resource "hetznerdns_record" "webmail_a" {
|
|||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "mail_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "mail"
|
||||
value = local.storage1_ip
|
||||
type = "A"
|
||||
ttl = 600
|
||||
}
|
||||
|
||||
resource "hetznerdns_record" "mail2_a" {
|
||||
zone_id = data.hetznerdns_zone.banditlair_zone.id
|
||||
name = "mail2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue