[337] in Hesiod

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

Re: Hesiod 3.0.0 released

daemon@ATHENA.MIT.EDU (John Lines)
Fri Dec 13 06:06:53 1996

To: Greg Hudson <ghudson@MIT.EDU>
Cc: hesiod@MIT.EDU
In-Reply-To: Your message of "Mon, 09 Dec 1996 12:00:05 EST."
             <199612091700.MAA26750@the-light-fantastic.MIT.EDU> 
Date: Fri, 13 Dec 1996 11:05:57 +0000
From: John Lines <John.Lines@aeat.co.uk>

Since the interface has changed and hes_init is not in the compatibility
library it may be worth placing something in hesiod.h like

#DEFINE HESIOD3 

This would allow sendmail, and other programs which are built with hesiod
to detect which interface they were being built with.

I have built sendmail8.8.4 with hesiod 3, by simply removing the section in
map.c which initialises hesiod. I assume it would be better to detect that
hesiod 3 was available and put in calls to the new routines, but I wanted a
quick hack.

I have switched our internal hesiod domain to run on the IN class only,
and so it should not attempt to use HS. I put in a class=IN line in my
hesiod.conf on a Linux system and it worked perfectly, but on a SunOs 4.1.3
when I do the same thing it still tries to use the HS class.

I suspect there is a lurking bug in the initialisation code, but I just
changed the source to force the IN class only.

I am glad to see Hesiod evolving - now it just needs to be built into a few
more applications


	John Lines




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