Allan WANJIKUwithallan.hashnode.dev·Jul 19, 2024What Happens When You Type 'www.google.com' In Your Browser And Press EnterHave you ever wondered what happens when you type a domain name (like www.google.com) in your browser and hit Enter? Well, several crucial processes take place within milliseconds to resolve your request. From DNS lookup to encryption, the steps ensu...Discusssysadmin
Ronit Pandaronit.dev·Jul 14, 2024Building the recursive resolverWe have already explored the outline of our UDP server, now time comes to actually build the resolver which will resolve DNS queries. f you don't have the codebase yet:https://github.com/rtpa25/dns-server For this before jumping into code, let's unde...DiscussBuilding a simple DNS server from scratch with NodeJS and TypescriptRecursion
Ronit Pandaronit.dev·Jul 14, 2024Finally building out the DNS serverNow that our parser and builder is ready and tested, let's move on to building the UDP server that is actually going to resolve DNS queries for us if you don't have the codebase yet:https://github.com/rtpa25/dns-server In this blog we will see and un...DiscussBuilding a simple DNS server from scratch with NodeJS and TypescriptUDP
Ronit Pandaronit.dev·Jul 14, 2024Setting up a testing suite with jestHey welcome back to the series, let's now setup a testing suite with jest in our codebase, to test all the classes we have written in the last a few blogs. if you don't have the codebase yet:https://github.com/rtpa25/dns-server Install required deve...DiscussBuilding a simple DNS server from scratch with NodeJS and Typescriptdns
Ronit Pandaronit.dev·Jul 14, 2024Writing a dns packet parserHey guys welcome back to the series, in this blog let's understand and build a parser class that can Without further a do let's straight move on to src/message/parser.tsif you don't have the codebase yet:https://github.com/rtpa25/dns-server lemme pas...DiscussBuilding a simple DNS server from scratch with NodeJS and Typescriptdns
Ronit Pandaronit.dev·Jul 14, 2024Writing a dns packet builderHonestly, if you are a web engineer who hasn't done much low-level work in your career just like me, following the upcoming blogs might be a bit challenging. That's because we will be working with binary buffer data, understanding each bit and byte. ...DiscussBuilding a simple DNS server from scratch with NodeJS and Typescriptdns
Ronit Pandaronit.dev·Jul 14, 2024Understanding the DNS protocolIn this blog, we will explore the DNS protocol, understand DNS packets, and guide you on building a DNS packet parser and builder in TypeScript. Typically, DNS packets are sent using UDP transport and are limited to 512 bytes. DNS is convenient becau...DiscussBuilding a simple DNS server from scratch with NodeJS and Typescriptdns
William Mainawilliammaina.hashnode.dev·May 19, 2024Understanding DNS RecordsUnderstanding DNS Records: A Comprehensive Guide DNS, short for Domain Name System, is a fundamental component of the internet that translates human-readable domain names into machine-readable IP addresses. It functions as a distributed database, fac...Discuss·10 likesibconcept
Jainil Prajapatijainil.hashnode.dev·May 9, 2024Understanding NS Records in DNS: A Comprehensive GuideNavigating the world of DNS (Domain Name System) can be confusing, especially when it comes to understanding different record types. One essential type is the NS (Name Server) record, which plays a crucial role in ensuring websites are correctly rout...Discuss·187 readsUnderstanding DNSdns
Jainil Prajapatijainil.hashnode.dev·May 9, 2024Understanding CAA Records in DNS: A Comprehensive GuideThe Certificate Authority Authorization (CAA) record is a new but crucial DNS record type that adds an extra layer of security to your domain. In this blog, we'll explain what CAA records are, their role in DNS, and how to use them effectively. 1. Wh...Discuss·91 readsUnderstanding DNSdns