diff --git a/ansible/arcodange/factory/playbooks/system/k3s_dns.yml b/ansible/arcodange/factory/playbooks/system/k3s_dns.yml index 7053914..3dcd86e 100644 --- a/ansible/arcodange/factory/playbooks/system/k3s_dns.yml +++ b/ansible/arcodange/factory/playbooks/system/k3s_dns.yml @@ -54,7 +54,11 @@ cache 30 loop reload + loadbalance import /etc/coredns/custom/*.override - import /etc/coredns/custom/*.server forward . {{ pihole_ips | map('regex_replace', '^(.*)$', '\1:53') | join(' ') }} } + # Les fichiers *.server contiennent des BLOCS SERVEUR complets (ex: `arcodange.lab:53 {…}`) : + # leur import doit vivre au niveau racine du Corefile. À l'intérieur de `.:53 {}`, + # CoreDNS crashe au parse (« Unknown directive 'arcodange.lab:53' ») — vécu le 2026-07-24. + import /etc/coredns/custom/*.server