Path: utzoo!attcan!uunet!lll-winken!lll-lcc!lll-ncis!helios.ee.lbl.gov!pasteur!ucbvax!NSIPO.NASA.GOV!medin From: medin@NSIPO.NASA.GOV ("Milo S. Medin", NASA ARC NSI Project Office) Newsgroups: comp.protocols.tcp-ip Subject: Re: Reconciling /etc/hosts, yp, and named? Message-ID: <8901140150.AA05304@cincsac.arc.nasa.gov> Date: 14 Jan 89 01:50:30 GMT References: <1737@ardent.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 20 The only real way to make things work is to replace yp with pure named service for hostname service only (of course, if you punt yp completely, you'll probably be better off). For 4.0, you can get a shared library from SUN that has the 4.8 resolver code in it, and still has everything else handled by yp. For 3.5, you basically have to throw away the SUN network utilities and recompile them from source, linking them against a libc built with the 4.8 resolver code. We did that for our systems, and it wasn't too bad considering we had 4.3 sources. You just can't make things work right by calling the resolver routines from yp. You also have to get a completely new copy of sendmail as well, because even if you replace all the yp calls with named calls, you must have MX support, and the distributed sendmail doesn't do that. You can also get an MX capable sendmail from SUN, though you are probably better off compiling 5.59 or 5.61 yourself... Thanks, Milo