From owner-freebsd-questions Fri Oct 29 7:15:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from righi.dhs.org (RIGHI.DF.UNIBO.IT [137.204.49.17]) by hub.freebsd.org (Postfix) with ESMTP id 2AC1515570 for ; Fri, 29 Oct 1999 07:15:40 -0700 (PDT) (envelope-from bsd@righi.dhs.org) Received: from localhost (bsd@localhost) by righi.dhs.org (8.9.3/8.9.3) with ESMTP id QAA36310; Fri, 29 Oct 1999 16:15:55 +0200 (CEST) (envelope-from bsd@righi.dhs.org) Date: Fri, 29 Oct 1999 16:15:55 +0200 (CEST) From: FreeBSD Mailing list To: Giorgos Keramidas Cc: freebsd-questions@FreeBSD.ORG Subject: Re: w program output. In-Reply-To: <86bt9kmzxe.fsf@localhost.hell.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I thought that the system could have a small cache for resolving the internet addresses instead of querying the DNS every time an user is issuing a w or who command. thanks Rick On 27 Oct 1999, Giorgos Keramidas wrote: > FreeBSD Mailing list writes: > > > Hello, I have 3.3-STABLE kernel on 3.3-RELEASE system. > > I have noticed the following behaviour on my system. > > > > If I issue the w command many times the FROM field displays to me the host > > from which the users are connected but it happens often that the w output > > hangs for some second and instead of the hostname the IP number is > > displayed like if the w command is unable to find the hostname > > from the IP address > > Faulty DNS setup? Using a name-server that takes too long to reply to you? > Just guessing... > > Using the "-n" option will inhibit automatic DNS lookups, and only print IP > addresses. But I doubt if this is what you want. > > Trying to make your DNS server respond faster seems like a better thing. > > -- > Giorgos Keramidas, > "What we have to learn to do, we learn by doing." [Aristotle] > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message