From 0286719dce1bdd491f9b5676435b34f3d47e2d68 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 1 Jun 2024 16:51:49 +0200 Subject: [PATCH] dns: add internal *.wg.pub.solar VPN records --- terraform/dns.tf | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/terraform/dns.tf b/terraform/dns.tf index cf8adf8..97be97f 100644 --- a/terraform/dns.tf +++ b/terraform/dns.tf @@ -4,6 +4,46 @@ resource "namecheap_domain_records" "pub-solar" { mode = "OVERWRITE" email_type = "MX" + record { + hostname = "nachtigall.wg" + type = "A" + address = "10.7.6.1" + } + record { + hostname = "flora-6.wg" + type = "A" + address = "10.7.6.2" + } + record { + hostname = "metronom.wg" + type = "A" + address = "10.7.6.3" + } + record { + hostname = "tankstelle.wg" + type = "A" + address = "10.7.6.4" + } + record { + hostname = "nachtigall.wg" + type = "AAAA" + address = "fd00:fae:fae:fae:fae:1::" + } + record { + hostname = "flora-6.wg" + type = "AAAA" + address = "fd00:fae:fae:fae:fae:2::" + } + record { + hostname = "metronom.wg" + type = "AAAA" + address = "fd00:fae:fae:fae:fae:3::" + } + record { + hostname = "tankstelle.wg" + type = "AAAA" + address = "fd00:fae:fae:fae:fae:4::" + } record { hostname = "flora-6" type = "A"