Introduction - If you have any usage issues, please Google them yourself
Linux DNS resolution using UDP to achieve their own code, whichever is only the first IP address, but the full realization of the entire process, the understanding of the UDP is very good, original