homelab/terraform/dns/zone.tf

21 lines
438 B
Terraform
Raw Permalink Normal View History

2023-11-04 20:33:51 +00:00
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
}