This repository has been archived on 2024-04-29. You can view files and clone it, but cannot push or open issues or pull requests.
vyos-config/containers/coredns/config/Corefile

61 lines
737 B
Text
Raw Normal View History

2023-03-29 13:30:45 -05:00
(common) {
errors
log error
reload
loadbalance
cache
loop
local
prometheus :9153
health {
lameduck 5s
}
}
(k8s_gateway) {
forward . 10.45.0.3:53
}
unifi {
import common
hosts /host/etc/hosts {
ttl 1
reload 5s
}
}
# Hack to prevent the gatway returning 127.0.0.1 from /etc/hosts
gateway.jahanson.tech {
import common
template IN A gateway.jahanson.tech {
answer "{{ .Name }} 60 IN A 10.1.0.1"
}
}
hsn.dev {
import common
hosts /host/etc/hosts {
ttl 1
reload 5s
fallthrough
}
import k8s_gateway
}
jahanson.tech {
import common
hosts /host/etc/hosts {
ttl 1
reload 5s
}
}
1.10.in-addr.arpa {
hosts /host/etc/hosts {
ttl 1
reload 5s
}
}