homelab/terraform/dns/zone.tf
2023-11-04 21:33:51 +01:00

21 lines
438 B
HCL

resource "powerdns_zone" "ducampseu" {
name = "ducamps.eu."
kind = "Native"
}
resource "powerdns_zone" "landucampseu" {
name = "lan.ducamps.eu."
kind = "Native"
}
resource "powerdns_zone" "reversezone" {
name = "1.168.192.in-addr.arpa."
kind = "Native"
}
resource "hetznerdns_zone" "externalZoneEU" {
count = var.enableHetzner ? 1 : 0
name = "ducamps.eu"
ttl = 1700
}