Future-Proof Your Career: AI Manager Masterclass
Google Data Analytics, IBM AI & Meta Marketing — All in One Subscription
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Learn to build a local DNS server using Berkeley Packet Filter (BPF) technology in this 23-minute conference talk from the Linux Plumbers Conference. Explore the innovative approach of capturing and identifying DNS requests with BPF while responding to them "in-place" without traditional server infrastructure. Discover how BPF can parse UDP packet structures and resolve addresses from attached hash maps, then rewrite incoming packet fields with resolved addresses and place responses back in the queue. Examine the implementation details of TC/XDP BPF programs, understand the performance advantages of this approach, and explore real-world applications including DNS DDoS protection mechanisms. Gain insights into leveraging the simplicity of DNS as a UDP protocol where typical queries involve just one request packet and one response packet, making it ideal for BPF-based processing and response generation.
Syllabus
Implement simple local DNS server with BPF - Raman Shukhau
Taught by
Linux Plumbers Conference