*BSD News Article 82719


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: order of named and hosts
Date: 12 Nov 1996 18:15:37 -0000
Organization: Coverform Ltd.
Lines: 18
Sender: brian@awfulhak.demon.co.uk
Message-ID: <56aes9$4pu@anorak.utell.net>
References: <55la8h$ce@kauss.rhein-main.de> <3280BD53.41C67EA6@by.by>
    <328393FF.E23@scouter.com> <3284c961.8805775@netnews.hinet.net>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: anorak.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <3284c961.8805775@netnews.hinet.net>,
	vcba79@ms1.hinet.net (Vincent Chen) writes:
: The default behavior of release 2.1.5 is exactly the same as above.
: Is it possible to let name daemon answer the location of 'localhost'?
: I wrote a local domain file according to linux dns howto instruction,
: but name server can't answer 'localhost' query. I must change the
: order to host,bind and add a localhost entry to /etc/hosts to keep
: my host running. Is there any working example out there?

cd /etc/namedb
sh ./make-localhost
echo "primary 0.0.127.IN-ADDR.ARPA localhost.rev" >>/etc/named.boot

-- 
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.