Files
computer-playbook/compose/Corefile.tmpl
T
kevinveenbirkenbach 28ddbaa270 ci(dns): fix AAAA handling in CoreDNS and add robust DinD DNS health check
- Replace NXDOMAIN for AAAA with fallthrough to avoid SERVFAIL and Node EAI_AGAIN
- Add robust Docker-in-Docker DNS health check (A + no SERVFAIL)
- Add Node/getaddrinfo DNS validation (matches CSP checker behavior)
- Add make target to stop CI compose stack without removing volumes

This prevents DNS resolver failures inside DinD and makes CSP health checks reliable.

https://chatgpt.com/share/696aba87-e5d4-800f-871c-aac049201fb7
2026-01-16 23:24:03 +01:00

28 lines
415 B
Cheetah

.:53 {
template IN A {
match ^${DOMAIN_RE}\.$
answer "{{ .Name }} 60 IN A ${IP4}"
fallthrough
}
template IN A {
match ^(.*)\.${DOMAIN_RE}\.$
answer "{{ .Name }} 60 IN A ${IP4}"
fallthrough
}
template IN AAAA {
match ^${DOMAIN_RE}\.$
fallthrough
}
template IN AAAA {
match ^(.*)\.${DOMAIN_RE}\.$
fallthrough
}
forward . /etc/resolv.conf
log
errors
}