fix(dns): coredns-custom — importer les blocs *.server à la racine du Corefile (sinon CoreDNS crash) #40
@@ -54,7 +54,11 @@
|
|||||||
cache 30
|
cache 30
|
||||||
loop
|
loop
|
||||||
reload
|
reload
|
||||||
|
loadbalance
|
||||||
import /etc/coredns/custom/*.override
|
import /etc/coredns/custom/*.override
|
||||||
import /etc/coredns/custom/*.server
|
|
||||||
forward . {{ pihole_ips | map('regex_replace', '^(.*)$', '\1:53') | join(' ') }}
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user