Show HN: I built a guided Build your own DNS Server challenge Hey everyone. It's Sherub here, author of the Build your own DNS Server challenge on CodeCrafters. Currently it’s available in Rust, Go, and Python and is free while in beta. https://ift.tt/3raIfde I've kept the challenge accessible but still challenging for an intermediate developer. This challenge, like others from CodeCrafters, is self-paced. You can use any tools you prefer (terminal, editor, etc.) to build the project. At the end of the challenge, you will have created a DNS forwarding server. The server can create and read DNS packets and respond to DNS queries. As you go, you'll learn about the DNS protocol, its format, servers, and A records. All while getting to hone your language skills. Some of the challenges and choices I had to make: * To make the stages easier, I had to break them up, such that each step builds on the previous one. This was especially challenging for the 2nd stage, where we write a DNS packet's header contents. Even though I’d have liked it to be easier, breaking it up further would have been weird. * Instead of implementing a recursive resolver, I've restricted to a forwarding server. We made this decision so that most developers can still use it. To add more complexity, we can use a challenge extension (noted below). * Deciding how much instruction and context the stages should provide. I’ve decided to keep them as thorough as possible for most of the stages. Developers can choose to have thorough details or just skim through them. I would love your feedback and questions on the challenge. You can try it out for free here: https://ift.tt/3raIfde (no CC required). I also have challenge extensions planned. You can find them at https://ift.tt/Ly10tiU... . I'm also keen to hear what you think about the extension ideas. https://ift.tt/vUB0uPm November 27, 2023 at 12:06PM
Show HN: I built a guided Build your own DNS Server challenge https://ift.tt/gd8SHoY
Related Articles
Show HN: I built an animated 3D bookshelf for ebooks https://ift.tt/d8q3gKJShow HN: I built an animated 3D bookshelf for ebooks https://ift.tt/pA… Read More
Show HN: AI Bartender in a Virtual Bar https://ift.tt/sjci3aqShow HN: AI Bartender in a Virtual Bar Note: The avatar will talk to y… Read More
Show HN: AI co-worker for system software development (Rust,C,C++,pdf) https://ift.tt/lCKnOV7Show HN: AI co-worker for system software development (Rust,C,C++,pdf)… Read More
Show HN: SlateDB – An embedded storage engine built on object storage https://ift.tt/Vrx5KDCShow HN: SlateDB – An embedded storage engine built on object storage … Read More
Show HN: Beating OpenAI's structured outputs on cost, accuracy and speed https://ift.tt/qj39JzGShow HN: Beating OpenAI's structured outputs on cost, accuracy and spe… Read More
Show HN: My Care Voice – We Help You Prepare for the What Ifs https://ift.tt/4vd2xj5Show HN: My Care Voice – We Help You Prepare for the What Ifs We are e… Read More
Show HN: Llmq – Pipe stuff in the shell to AI https://ift.tt/d8RMjfeShow HN: Llmq – Pipe stuff in the shell to AI I just put this together… Read More
Show HN: AnimeGenAi – AI-powered anime style image and video generator https://ift.tt/pFnzfCVShow HN: AnimeGenAi – AI-powered anime style image and video generator… Read More
0 Comments: