domain query subroutine res_search
Jack F. Vogel
jackv at turnkey.tcc.com
Wed Apr 17 04:48:59 AEST 1991
In article <934 at airgun.wg.waii.com> markw at airgun.wg.waii.com (Mark Whetzel) writes:
>I am working with another programmer on porting the IDA sendmail
>to the IBM RT running AIX 2.2.1. (yes its yucky IBM, but it works and
>it's paid for :-)
>The problem area of code is dealing with domain server queries in the
>routine domain.c, in particular it is using the res_search system
>subroutine. I can't find any documentation about this routine, and referencing
>both AIX V3 (RS6000) and SUNOS (4.0.1) and CONVEXOS, none of these systems
>also have documentation about this system subroutine.
Hmmm, this is interesting I didn't think AIX on the RT or RS6000 even had
the res_search() code. res_search() was introduced in BIND 4.8 if memory
serves and the code on the RT or 6000 as shipped is much earlier than
that. And, by the way, the simplest way to get the information you want
is to get the BIND distribution, its available from Berkeley or most any
other of the Internet archive sites. AIX 1.2 on the PS/2 or 370 has this
code since I ported it, but since it was done in the service stream it is
not in the documentation. This will be remedied in the AIX 1.2.1 docs. Is
it possible that someone has hacked your system and added the later version
of BIND (and from the sound of it got it wrong :-})?? You might try running
sendmail with debug on and take a look at the info from the nameserver (that
assumes of course that your resolver was built with DEBUG defined).
Disclaimer: I don't speak for the company.
--
Jack F. Vogel jackv at locus.com
AIX370 Technical Support - or -
Locus Computing Corp. jackv at turnkey.TCC.COM
More information about the Comp.unix.programmer
mailing list