mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
- switch CI DNS to CoreDNS-based *.localhost resolution (A/AAAA → loopback) - set PRIMARY_DOMAIN to localhost for CI deploys - add explicit DNS resolution assert for test.localhost - deploy explicit default_server vhost returning 404 text/plain - assert default vhost behavior via HTTP before app domains exist https://chatgpt.com/share/6952cf2a-bbd4-800f-b2b8-c4baba66e301
18 lines
273 B
Plaintext
18 lines
273 B
Plaintext
.:53 {
|
|
template IN A {
|
|
match (.*)\.localhost\.
|
|
answer "{{ .Name }} 60 IN A 127.0.0.1"
|
|
fallthrough
|
|
}
|
|
|
|
template IN AAAA {
|
|
match (.*)\.localhost\.
|
|
answer "{{ .Name }} 60 IN AAAA ::1"
|
|
fallthrough
|
|
}
|
|
|
|
forward . /etc/resolv.conf
|
|
log
|
|
errors
|
|
}
|