惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IT之家
IT之家
博客园 - 聂微东
雷峰网
雷峰网
Microsoft Azure Blog
Microsoft Azure Blog
WordPress大学
WordPress大学
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
博客园 - 三生石上(FineUI控件)
V
Visual Studio Blog
博客园 - 司徒正美
爱范儿
爱范儿
月光博客
月光博客
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
博客园 - 【当耐特】
Jina AI
Jina AI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
人人都是产品经理
人人都是产品经理
V
V2EX

quic on CoreDNS: DNS and Service Discovery

暂无文章

quic
2025-06-13 · via quic on CoreDNS: DNS and Service Discovery

Description

The quic plugin allows you to configure parameters for the DNS-over-QUIC (DoQ) server to fine-tune the security posture and performance of the server.

This plugin can only be used once per quic Server Block.

Syntax

quic {
    max_streams POSITIVE_INTEGER
    worker_pool_size POSITIVE_INTEGER
}
  • max_streams limits the number of concurrent QUIC streams per connection. This helps prevent DoS attacks where an attacker could open many streams on a single connection, exhausting server resources. The default value is 256 if not specified.
  • worker_pool_size defines the size of the worker pool for processing QUIC streams across all connections. The default value is 512 if not specified. This limits the total number of concurrent streams that can be processed across all connections.

Examples

Enable DNS-over-QUIC with default settings (256 concurrent streams per connection, 512 worker pool size):

quic://.:8853 {
    tls cert.pem key.pem
    quic
    whoami
}

Set custom limits for maximum QUIC streams per connection and worker pool size:

quic://.:8853 {
    tls cert.pem key.pem
    quic {
        max_streams 16
        worker_pool_size 65536
    }
    whoami
}