W3C Lib

Notes About Sun OS

These are the installation and user notes for the W3C httpd, the W3C Reference Library and the Line Mode Browser. Any comments and suggestions are welcome at libwww@w3.org.

Resolver Library

An often encountered problem using Sun OS is that you get the error message back:
	Can't locate remote host
This is due to a problem with the way SunOS does name resolution. By default it uses NIS as the resolver and then if this fails then it tries the DNS server. However, sometimes it doesn't work and the result is the message above.

A way to short circuit the NIS system is to link the application with an external resolver library. In the case where you are building the code yourself this can be done by making a change to the Makefile.include file and then rebuild the application. If you are using a precompiled binary then take the lresolve version.


Henrik Frystyk, libwww@w3.org, December 1995