Patch-ID# 100465-02
Keywords: DNS res_send resolv.conf nameserver 
Synopsis: SunOS 4.1;4.1.1;4.1.2;4.1.3: DNS res_send() fails if first nameserver in resolv.conf returns ECONNREFUSED
Date: 13/Nov/92
 
SunOS release: 4.1, 4.1.1, 4.1.2, 4.1.3 
 
Unbundled Product:
 
Unbundled Release:
 
Topic: DNS patch 
 
BugID'd fixed for this patch: 1076977 

Changes incorporated in this version: 4.1.2 & 4.1.3 versions added.

Architectures for which this patch is available: sun3(all), sun4(all)

Patches which may conflict with this patch: none

Obsoleted by: patch 100482 

Problem Description:

Bug 1078977
DNS lookup will fail if the first nameserver in /etc/resolv.conf is up but has
no nameserver daemon running. The ECONNREFUSED will be carried on down to the
other nameservers listed in resolv.conf even if they are up and their 
nameserver daemons are running.

INSTALL:

As root:
First save the FCS distribution versions as a precaution:

cp /usr/lib/libresolv.a /usr/lib/libresolv.a.orig

Replace files with patched files:

cp `arch`/{OS Release}/res_send.o /usr/lib
cd /usr/lib
ar rav res_send.o libresolv.a
ranlib libresolv.a

