Increase timeout for coredns cache.

This commit is contained in:
Tom Alexander
2025-12-30 21:57:09 -05:00
parent c9c94d31a7
commit 81c53afb15

View File

@@ -283,6 +283,46 @@ makeScope newScope (
"10.197.0.10"
];
};
servers = [
{
zones = [
{
zone = ".";
use_tcp = true;
}
];
port = 53;
plugins = [
{ name = "errors"; }
{
name = "health";
configBlock = "lameduck 10s";
}
{ name = "ready"; }
{
name = "kubernetes";
parameters = "cluster.local in-addr.arpa ip6.arpa";
configBlock = "pods insecure\nfallthrough in-addr.arpa ip6.arpa\nttl 30";
}
{
name = "prometheus";
parameters = "0.0.0.0:9153";
}
{
name = "forward";
parameters = ". /etc/resolv.conf";
}
{
name = "cache";
parameters = 300; # default 30
}
{ name = "loop"; }
{ name = "reload"; }
{ name = "loadbalance"; }
];
}
];
};
}
));