Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jul 2004 08:17:55 +0200
From:      Martin <nakal@web.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   When named is not available
Message-ID:  <1089094675.1206.23.camel@klotz.local>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1089094675.1206.23.camel>