We are developing a built-in application that works on a stand-alone device connected to GPRS (there is no operating system there). We are trying to get the IP address of a domain name. I think we should use some public DNS services like Google DNS ( 8.8.8.8). The question is, what is the simplest request we need to send 8.8.8.8:53to get the IP address of our domain?
Again, we cannot use libresolveor any other similar libraries. We will make a simple TCP connection to the 53Google DNS port and we will format our request ourselves.
I myself tried to understand RFC1053 , but could not. Too many words:)
source
share