[261] in Hesiod

home help back first fref pref prev next nref lref last post

possible patch

daemon@ATHENA.MIT.EDU (Derrick J. Brashear)
Wed Apr 12 09:34:54 1995

Date: Wed, 12 Apr 1995 09:31:51 -0400 (EDT)
From: "Derrick J. Brashear" <db74+@andrew.cmu.edu>
To: hesiod@MIT.EDU

Hi,

I was playing around yesterday with hesinfo and noticed that I was unable 
to get info from Hesiod at other sites. So I pointed gdb at Hesinfo and
found out that it was getting back answers pointing me to other nameservers,
and wasn't doing anything with them. A (simple) patch follows:
-- CUT HERE --
*** hesiod.dist/src/resolve.c Fri Oct 15 18:23:35 1993
--- ./resolve.c Wed Apr 12 09:07:31 1995
***************
*** 165,170 ****
--- 165,171 ----
      }
  
      _res.options |= RES_IGNTC;
+     _res.options |= RES_RECURSE;
  
      n = res_mkquery(QUERY, name, class, type, (char *)0, 0, NULL, qbuf, PACKETSZ);
      if (n < 0) {
-- CUT HERE --

Enjoy.

-D

home help back first fref pref prev next nref lref last post