[224] in Hesiod
Re: res_init not getting called
daemon@ATHENA.MIT.EDU (Paul A Vixie)
Fri Jul 29 03:46:26 1994
To: Greg Wohletz <greg@duke.cs.unlv.edu>
Cc: hesiod@MIT.EDU, bind-workers@vix.com
In-Reply-To: Your message of "Thu, 28 Jul 1994 18:13:32 PDT."
<9407290129.AA27712@gw.home.vix.com>
Date: Thu, 28 Jul 1994 19:18:22 -0700
From: Paul A Vixie <paul@vix.com>
i'd like to let everybody know that several changes are coming in the next
rev or two of BIND:
1. _res will disappear. all variables that can be set will be set
with functional interfaces rather than data interfaces.
2. hesiod will appear. as will NIS. fallback methods will be specifiable.
3. get{host,pw,serv,net}by*() will be stubs that talk to a local daemon
over a unix-domain socket; that daemon will have the actual DNS resolver
and NIS/Hesiod code in it.
i mention this only because the following diff caught my eye. code like
this will stop working on the BIND resolver starting RSN (real soon now):
> register int res_retry = _res.retry;
>
> + if ((_res.options & RES_INIT) == 0 && res_init() == -1)
> + return((nsmsg_t *)NULL);
> #ifdef DEBUG
> if (_res.options & RES_DEBUG)
> printf("_resolve: class = %d, type = %d\n", class, type);