How does InetAddress work? How does it find an IP address of a hostname.
I understand we can use InetAddress in Java for DNS resolutions, but I would like to know how