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: Program ESP32s in Nim https://ift.tt/69lUSOrShow HN: Program ESP32s in Nim https://ift.tt/NwcWflQ October 1, 2023 … Read More
Show HN: Raiseto – Discover and Share Ideas https://ift.tt/6jNdkbQShow HN: Raiseto – Discover and Share Ideas https://raiseto.com/ Septe… Read More
Show HN: Integrate Discord with Jira https://ift.tt/lyLKfTgShow HN: Integrate Discord with Jira Looks like growing number of comp… Read More
Show HN: A map that tells you if a NYC cafe has WiFi, a restroom, and an outlet https://ift.tt/HEphLv4Show HN: A map that tells you if a NYC cafe has WiFi, a restroom, and … Read More
Show HN: Noisy Nest Free white/pink/brown noise generator https://ift.tt/UZPqHN8Show HN: Noisy Nest Free white/pink/brown noise generator Hi All, i wa… Read More
Show HN: A C++ dump func. that can print multi-D vectors, maps, tuples, and all https://ift.tt/tOsQiFHShow HN: A C++ dump func. that can print multi-D vectors, maps, tuples… Read More
Show HN: How I made a donut-shaped donut.c replica in Python [video] https://ift.tt/7SNX2cCShow HN: How I made a donut-shaped donut.c replica in Python [video] h… Read More
Show HN: Stargazers Reloaded – LLM-Powered Analyses of Your GitHub Community https://ift.tt/e9nwgFWShow HN: Stargazers Reloaded – LLM-Powered Analyses of Your GitHub Com… Read More
0 Comments: