Posted By:
Ashish_Bansal
Posted On:
Tuesday, March 20, 2001 02:26 AM
I work on a win NT workstation in a lan with a proxy.
The statement
InetAddress ia=InetAddress.getByName("www.yahoo.com");
always throws a UnknownHostException. Niether my computer nor the proxy server has a DNS server.The DNS of the ISP is used.
What steps does getByName() takes to connect to the Internet and how to resolve host name in this scenario ?Where can I find info on this on the net.