COREDNS-GRPC_SERVER(7)
π COREDNS-GRPC_SERVER(7) π
ok so this is a page from the CoreDNS Plugins manual, and bestie, it's literally all about tuning your DNS-over-gRPC server. let's get into it π«Ά
β¨ NAME β¨
grpc_server β the plugin that configures all your DNS-over-gRPC server options. she's the one who sets the boundaries, periodt. π
πΈ DESCRIPTION πΈ
the grpc_server plugin lets you configure parameters for the DNS-over-gRPC server so you can fine-tune the security posture and performance of the server. like, you get to decide how much chaos the server will tolerate, and honestly? iconic. π
okay important thing, no cap: this plugin can only be used once per gRPC listener block. one and done, bestie. don't try to stack 'em. π
π¦ SYNTAX π¦
grpc_server {
max_streams POSITIVE_INTEGER
max_connections POSITIVE_INTEGER
}
max_streams POSITIVE_INTEGERβ this one limits the number of concurrent gRPC streams per connection. it's giving "let's not have unbounded streams on a single connection exhausting server resources", which is lowkey so real of it. the default value is256if you don't specify anything. and if you set it to0, that's unbounded β the wild west, no rules, yolo. πmax_connections POSITIVE_INTEGERβ limits the number of concurrent TCP connections to the gRPC server. the default value is200if not specified. set it to0for unbounded, if that's the vibe you're going for. β¨
π EXAMPLES π
π set custom limits for maximum streams and connections
like, pick your own numbers, main character energy:
grpc://.:8053 {
tls cert.pem key.pem
grpc_server {
max_streams 50
max_connections 100
}
whoami
}
π set values to 0 for unbounded
this one matches CoreDNS behaviour from before v1.14.0 β aka the nostalgic era, the before times. π°οΈ
grpc://.:8053 {
tls cert.pem key.pem
grpc_server {
max_streams 0
max_connections 0
}
whoami
}
reminder bestie:0means unbounded on both of these. so like, actually know what you're doing before you go setting things to0π
that's the whole page, fr fr β brought to you by CoreDNS, dated March 2026, and this plugin manual page is COREDNS-GRPC_SERVER(7) in the CoreDNS Plugins manual. slay, go tune those limits πβ
π¦ where this page comes from
- nixpkgs unstable: coredns 1.14.7
- opensuse-leap 16.0: coredns-extras 1.15.0-bp160.1.1 Β· Apache-2.0 AND MPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms