Increase timeout for coredns cache.

This commit is contained in:
Tom Alexander 2025-12-30 21:57:09 -05:00 committed by Tom Alexander
parent 9cae3bbae3
commit d8fa1a06c7
Signed by: talexander
GPG Key ID: 36C99E8B3C39D85F

View File

@ -283,6 +283,46 @@ makeScope newScope (
"10.197.0.10" "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"; }
];
}
];
}; };
} }
)); ));