*BSD News Article 92577


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!msunews!news.mtu.edu!newsxfer.itd.umich.edu!newsxfer3.itd.umich.edu!howland.erols.net!Frankfurt.Germany.EU.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: Re: Add aliases into "hosts" file Not!! Work!!
Date: 1 Apr 1997 12:28:13 GMT
Organization: interface business GmbH, Dresden
Lines: 18
Message-ID: <5hqv0t$kc1@innocence.interface-business.de>
References: <5hcuqf$uvt@news.loxinfo.co.th>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:6542

ssp@pc134.loxinfo.co.th (Sayan Uparipab) wrote:

> In file hosts:
> 
> 127.1           localhost
> 208.147.0.120   myhost
> ^^^^^^^^^^^^^
> 
> And I use ping or telnet to "myhost" there have messages "unknown host myhost"

Do you have nameservice (DNS) running?  In this case, a negative
response to the query by a namserver will be taken as the definite
answer, without ever consulting /etc/hosts.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j