add ducamps.eu dns zone
This commit is contained in:
parent
c2737f6771
commit
a99cc3a76b
19
infra/dns.tf
19
infra/dns.tf
@ -7,6 +7,25 @@ resource "hetznerdns_zone" "externalZone" {
|
|||||||
ttl = 1700
|
ttl = 1700
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resource "hetznerdns_zone" "externalZoneEU" {
|
||||||
|
name = "ducamps.eu"
|
||||||
|
ttl = 1700
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hetznerdns_record" "MX1Eu" {
|
||||||
|
zone_id = hetznerdns_zone.externalZoneEU.id
|
||||||
|
name = "@"
|
||||||
|
value = "20 ${local.defaultCname}"
|
||||||
|
type = "MX"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hetznerdns_record" "mailEu" {
|
||||||
|
zone_id = hetznerdns_zone.externalZoneEU.id
|
||||||
|
name = "mail"
|
||||||
|
value = local.defaultCname
|
||||||
|
type= "CNAME"
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
resource "hetznerdns_record" "rootalias" {
|
resource "hetznerdns_record" "rootalias" {
|
||||||
zone_id = hetznerdns_zone.externalZone.id
|
zone_id = hetznerdns_zone.externalZone.id
|
||||||
|
Loading…
Reference in New Issue
Block a user