From mboxrd@z Thu Jan 1 00:00:00 1970 From: jim roy Subject: Re: ping by name does not work (sometimes) Date: Fri, 16 Jul 2004 09:14:19 -0700 Sender: linux-admin-owner@vger.kernel.org Message-ID: <20040716091419.E27436@redwing> References: <200407141751.42558.fluca1978@infinito.it> <200407161533.22265.fluca1978@infinito.it> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <200407161533.22265.fluca1978@infinito.it>; from fluca1978@infinito.it on Fri, Jul 16, 2004 at 06:33:22 -0700 List-Id: Content-Type: text/plain; charset="us-ascii" To: fluca1978@infinito.it Cc: linux-admin@vger.kernel.org On 2004.07.16 06:33 Luca Ferrari wrote: > On Thursday 15 July 2004 11:06 Benoit Desforges's cat walking on the keyboard > wrote: > > > On Wed, 14 Jul 2004 17:51:42 +0200, Luca Ferrari > wrote: > > > Hi, > > > I've found this problem on a suse 8.0 machine: if I try to ping a machine > > > by its name the program stay locked (no messages, neither errors). If I > > > ping with the IP address everything works. A problem of DNS? I thought > > > this, but other users on the same machine can ping by a DNS name. I'm > > > talking, of course, of non privileged users. > > > Any idea? > > > > > > Luca > > > > > > -- > > > Luca Ferrari, > > > fluca1978@infinito.it > > > > Are you sure that all the different users can read the /etc/host file ? > > I would sugest you to check if this actualy readable by everybody. but > > I may be wrong ... > > The file is readable by everyone > -rw-r--r-- 1 root root 677 2003-10-18 11:37 /etc/hosts > and furthermore the entry I'm trying to ping is not included in the file (and > there's not a NIS file sharing), thus it must be requested thru DNS. > Any idea? Are you sure the other users are using the same ping?