Can't locate remote hostThis 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.