*BSD News Article 60069


Return to BSD News archive

From: se@ZPR.Uni-Koeln.DE (Stefan Esser)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: linux-emu and network
Date: 24 Jan 1996 23:01:59 GMT
Organization: Institute for Mathematics, University of Cologne, Germany
Lines: 30
Sender: se@Sysiphos (Stefan Esser)
Message-ID: <4e6dp7$a2r@news.rrz.uni-koeln.de>
References: <4e2dk4$7k5@nntpd.lkg.dec.com> <4e5vu7$m3e@paperboy.osf.org>
NNTP-Posting-Host: sysiphos.mi.uni-koeln.de
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!news.rucc.net.au!sparky.wire.net.au!news.internex.net.au!news.mira.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!daily-planet.execpc.com!news.sol.net!uniserve!van-bc!news.cyberstore.ca!math.ohio-state.edu!howland.reston.ans.net!blackbush.xlink.net!rz.uni-karlsruhe.de!nntp.gmd.de!news.rwth-aachen.de!news.rhrz.uni-bonn.de!RRZ.Uni-Koeln.DE!zpr.uni-koeln.de!se

In article <4e5vu7$m3e@paperboy.osf.org>, loverso@osf.org (John Robert LoVerso) writes:
|> The problem is that the /etc/host.conf file has an incompatible format
|> better Linux's "resolv+" and the standard BSD resolver.
|> 
|> BSD wants this:
|> 	bind
|> 	hosts
|> 
|> and Linux wants this:
|> 	order bind hosts
|> 
|> You can add the "order" line to the end /etc/host.conf and then the Linux
|> netscape (with Java) and xdoom will work and be able to resolve hostnames.
|> You'll still get those two annoying messages when you run Linux apps that 
|> use the resolver, but at least everything will work.

You can alternatively put "order bind hosts" 
into "/compat/linux/etc/host.conf" and add:

RESOLV_HOST_CONF=/compat/linux/etc/host.conf
export RESOLV_HOST_CONF

to /etc/profile (or your private profiles).

Regards, STefan
-- 
 Stefan Esser, Zentrum fuer Paralleles Rechnen		Tel:	+49 221 4706021
 Universitaet zu Koeln, Weyertal 80, 50931 Koeln	FAX:	+49 221 4705160
 ==============================================================================
 http://www.zpr.uni-koeln.de/~se			  <se@ZPR.Uni-Koeln.DE>