infra: add entry imap and smtp
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a99cc3a76b
commit
9f853d91f5
13
infra/dns.tf
13
infra/dns.tf
@ -19,6 +19,18 @@ resource "hetznerdns_record" "MX1Eu" {
|
|||||||
type = "MX"
|
type = "MX"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "hetznerdns_record" "smtpEU" {
|
||||||
|
zone_id = hetznerdns_zone.externalZoneEU.id
|
||||||
|
name = "smtp"
|
||||||
|
value = local.defaultCname
|
||||||
|
type= "CNAME"
|
||||||
|
}
|
||||||
|
resource "hetznerdns_record" "imapEU" {
|
||||||
|
zone_id = hetznerdns_zone.externalZoneEU.id
|
||||||
|
name = "imap"
|
||||||
|
value = local.defaultCname
|
||||||
|
type= "CNAME"
|
||||||
|
}
|
||||||
resource "hetznerdns_record" "mailEu" {
|
resource "hetznerdns_record" "mailEu" {
|
||||||
zone_id = hetznerdns_zone.externalZoneEU.id
|
zone_id = hetznerdns_zone.externalZoneEU.id
|
||||||
name = "mail"
|
name = "mail"
|
||||||
@ -27,6 +39,7 @@ resource "hetznerdns_record" "mailEu" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
resource "hetznerdns_record" "rootalias" {
|
resource "hetznerdns_record" "rootalias" {
|
||||||
zone_id = hetznerdns_zone.externalZone.id
|
zone_id = hetznerdns_zone.externalZone.id
|
||||||
name = "@"
|
name = "@"
|
||||||
|
Loading…
Reference in New Issue
Block a user