Anwser A queries with static ip regardless of anything

This commit is contained in:
2025-02-08 03:50:43 +01:00
parent 4e6a0b3105
commit 82aba53b78

View File

@@ -5,6 +5,18 @@ metadata:
namespace: kube-system
data:
Corefile: |-
lb.homelab.lumpiasty.xyz.:53 {
view externalv4 {
expr type() in ['A']
expr not hasSuffix(name(), '.in-addr.arpa.')
}
log . {
class all
}
template IN A {
answer "{{ .Name }} 60 IN A 139.28.40.212"
}
}
.:53 {
# Filter out anything IPv4 related
view external {