Learn how to create a simple DNS Resolver using Golang. Understand the structure of a DNS query message and the DNS compression algorithm.
•11m read time• From domenicoluciani.com
Table of contents
DNS Resolver what?The Coding ChallengePrefaceThings I learned with this challengeStep 0Step 1HeaderQuestionQueryLet’s see the code 👀Step 2Step 3Let’s put everything togetherThe code and the output?Final thoughts and thank yousSort: