Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Implement Simple Local DNS Server with BPF

Linux Plumbers Conference via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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

Reviews

Start your review of Implement Simple Local DNS Server with BPF

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.