From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luca Ferrari Subject: Re: ping by name does not work (sometimes) Date: Wed, 21 Jul 2004 18:31:50 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200407211831.50272.fluca1978@virgilio.it> References: <200407141751.42558.fluca1978@infinito.it> Reply-To: fluca1978@virgilio.it Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200407141751.42558.fluca1978@infinito.it> Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-admin@vger.kernel.org On Wednesday 14 July 2004 17:51 Luca Ferrari's cat walking on the keyboard 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 I've solved the problem, or at least I hope! It was a nisplus problem. In fact there were different configurations among nsswitch.conf and host.conf of the resolution of a name. Even if I don't export servers thru nis, removing the nisplus entry in the "host" row of the nsswitch.conf solved the problem. Thanks to everyone for the assistance. Luca -- Luca Ferrari, fluca1978@virgilio.it