Implement Simple Local DNS Server with BPF
Linux Plumbers Conference via YouTube
Power BI Fundamentals - Create visualizations and dashboards from scratch
Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
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