*BSD News Article 82570


Return to BSD News archive

#! rnews 1376 bsd
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!spring.edu.tw!serv.hinet.net!netnews.hinet.net!news
From: vcba79@ms1.hinet.net (Vincent Chen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: order of named and hosts
Date: Sat, 09 Nov 1996 19:05:37 GMT
Organization: Vincent Research
Lines: 31
Message-ID: <3284c961.8805775@netnews.hinet.net>
References: <55la8h$ce@kauss.rhein-main.de> <3280BD53.41C67EA6@by.by> <328393FF.E23@scouter.com>
NNTP-Posting-Host: 168.95.104.89
X-Newsreader: Forte Free Agent 1.1/32.230


>> Initial setup is like that:
>> bind
>> hosts
>> 
>> and I don't understand why...
>> 
>
>As a system admin, if I add a new system and need to connect to it
>before it has a DNS entry, a /etc/hosts entry would be quickly made
>on the system accessing it for ease of use.
>

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?


-----

Vincent Chen

E-mail address:
vcba79@ms1.hinet.net

Taipei,Taiwan
R.O.C.