Photo by Science in HD on Unsplash

First off, to write a Domain Name System client we first need to know what DNS actually does, it’s an integral part of the internet, yet not that many people are familiar with it.

To put simply DNS is responsible for resolving human-readable domain names into IP addresses of the server you’re trying to reach.

So when you are trying to go to Facebook or Google websites your request is first handled by DNS in order to reach the appropriate server. To view this in action you can open your terminal and type $ tracert google.com on Windows machine or…

Martynas Rafanavicius

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store