*BSD News Article 16275


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
From: mark@kram.org (Mark Turner)
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!uunet!pipex!bnr.co.uk!demon!clio.kram.org!mark
Subject: Re: localhost
Organization: Kram
References: <1tbdoa$16m@darum.uni-mannheim.de>
Date: Wed, 19 May 1993 00:06:58 +0000
Message-ID: <C78yzp.EL8@kram.org>
Sender: usenet@demon.co.uk
Lines: 20

In article <1tbdoa$16m@darum.uni-mannheim.de> andrew@wipux1.wifo.uni-mannheim.de writes:
>How can I make 386bsd read the /etc/hosts ?
>For example localhost is not defined ny the
>local nameserver (as some people use 127.0.0.0)
>so all utils which is call localhost by default
>fail. Also any locally defined aliases are ignored.

I also needed to use /etc/hosts but still access my local nameserver
for external machine names. There is a package called resolv+ which
allows you to specify which order DNS and /etc/hosts are used. It
works fine on 386bsd.

Regards,

Mark.
-- 
/\/\ark Turner                       Demon Systems / Demon Internet
Home: mt@kram.org (PGP key available)        42 Hendon Lane, London
Office: mark@demon.co.uk (+44 81 3490063)           N3 1TT, England
*** IP level dialup Internet connectivity for a tenner a month! ***