*BSD News Article 59968


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!news.sol.net!daily-planet.execpc.com!homer.alpha.net!uwm.edu!fnnews.fnal.gov!muir.math.niu.edu!corn.cso.niu.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!uhog.mit.edu!news!grapevine.lcs.mit.edu!bone.think.com!paperboy.osf.org!loverso
From: loverso@osf.org (John Robert LoVerso)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: linux-emu and network
Date: 24 Jan 1996 19:05:43 GMT
Organization: OSF Research Institute, Cambridge MA
Lines: 26
Message-ID: <4e5vu7$m3e@paperboy.osf.org>
References: <4e2dk4$7k5@nntpd.lkg.dec.com>
NNTP-Posting-Host: coltsfoot.osf.org

In article <4e2dk4$7k5@nntpd.lkg.dec.com>,
Lars Hofhansl <lars@hboix1.enet.dec.com> wrote:
> whenever I start a linux-binary that does some network related stuff
> I get messages like:
> resolv+: hosts  unknwon command
> resolv+: bind   unknown command   (or the like - I forgot the exact message)
> (on the screen via stderror)

I just solved this problem on one of my machines.

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.

John