Cloudflare Interview Question

Given a bytes parse a DNS packet, then construct a response to the parsed query