Hello programmers,
There are times when We want to learn the structure of a simple DNS Query packet by creating it and also We want to read and dissect DNS Query response in byte string format for curiosity or fun. If this is what You need, then this video is for You.
In this video, We will built:
1. Half DNS Client
2. DNS Query Packet
I did not want to show the full DNS client code. I make an half DNS client code in order I can send a query and print the response packet from the server. Just it.
To make full DNS client is still half way to go. Maybe later in other video.
In this video, I will show you how to create very DNS client code minimal using just socket libary not more than that and create DNS query packet with previous DNS query packet generated by NSLOOKUP not create a new one to make this quick and easy.
Hope this helps,
Totz Tech