From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 06:17:58 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D849816A4CE for ; Tue, 6 Jul 2004 06:17:58 +0000 (GMT) Received: from smtp08.web.de (smtp08.web.de [217.72.192.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id A32B543D5C for ; Tue, 6 Jul 2004 06:17:58 +0000 (GMT) (envelope-from nakal@web.de) Received: from [84.135.202.109] (helo=[84.135.202.109]) by smtp08.web.de with esmtp (TLSv1:DES-CBC3-SHA:168) (WEB.DE 4.101 #44) id 1BhjHB-0007G3-00 for freebsd-questions@freebsd.org; Tue, 06 Jul 2004 08:17:57 +0200 From: Martin To: FreeBSD Questions Content-Type: text/plain Message-Id: <1089094675.1206.23.camel@klotz.local> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 06 Jul 2004 08:17:55 +0200 Content-Transfer-Encoding: 7bit Sender: nakal@web.de Subject: When named is not available X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2004 06:17:59 -0000 Hi, I have a problem with named in my LAN. My notebook is sometimes attached to this network and sometimes not. Everything works well when the network cable is plugged-in. Without the network cable (same network settings), the following happens: - sendmail is waiting for timeout while booting (ok, this is actually not a big problem, just a little bit annoying) - host anyhost needs 30 seconds to return with a timeout - starting any X-application takes 2 minutes 30 seconds till it appears on the local display Remarks about X: - XFree86 is configured not to accept TCP connections - the problem above does not occur when running the X-server without a WM and with twm (affects KDE, Gnome, Xfce) Why does the resolver need 30 seconds to look up a host when named is offline? Isn't it possible to configure it to react on "no route to host" (for named's IP) correctly? Something has changed with XFree, which since recently looking up hosts (localhost?) when starting an X-application. How do I turn it off? I'm running -CURRENT (2004/07/01). Martin