We have deployed a comprehensive security overhaul to protect our DNS infrastructure against volumetric attacks and abuse. The new system operates at the kernel level using nftables with optimized rulesets, providing wire-speed packet filtering before traffic reaches our application layer.

Key Components:
Kernel-Level Rate Limiting: 50 queries/second per IP with intelligent meter timeouts that auto-expire entries, preventing memory exhaustion during attacks.
dns-bot-guard v2.1: Our custom threat detection system monitors query patterns in real-time, automatically blocking /24 ranges when botnets are detected.
Automated Blocklists: Daily updates from FireHOL (Level 1 & 2) and Spamhaus DROP/EDROP, providing 4,600+ pre-emptive IP range blocks.
Protocol Coverage: Protection applies uniformly to DoH (443), DoT (853), DoQ (853/UDP), and standard DNS (53).

The system successfully mitigated multiple botnet attacks during testing, automatically identifying and blocking malicious /16 ranges within minutes.