From da600870a61d2042366799c9105c1da72aed21b4 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 25 Aug 2025 21:35:15 +0200 Subject: [PATCH] dn --- dns/dns.yaml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/dns/dns.yaml b/dns/dns.yaml index 6a280a9..5f22d8e 100644 --- a/dns/dns.yaml +++ b/dns/dns.yaml @@ -97,22 +97,29 @@ data: fallthrough } - # 1) Try etcd first; if no A found, fall through to wildcard - etcd { - path /skydns - endpoint http://etcd.dns.svc:2379 - fallthrough - } - # 2) Wildcard A default template IN A apps.undercloud.dev { match ^(.+)\.apps\.undercloud\.dev\.?$ answer "{{.Name}} 300 IN A 93.228.39.77" } + + #template IN A *.apps.undercloud.dev { + # rcode NOERROR + # answer "{{.Name}} 60 IN A 93.228.39.77" + #} + + # Tout le reste va vers etcd sur 5533 + forward . 127.0.0.1:5533 + } + apps.undercloud.dev:5533 { + bind 127.0.0.1 + errors + log + etcd { + path /skydns + endpoint http://etcd.dns.svc:2379 + } } - - - --- apiVersion: apps/v1