From owner-freebsd-questions@FreeBSD.ORG Wed Jul 4 06:15:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E5D67106564A for ; Wed, 4 Jul 2012 06:15:10 +0000 (UTC) (envelope-from kalle.moller@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id A91028FC08 for ; Wed, 4 Jul 2012 06:15:10 +0000 (UTC) Received: by obbun3 with SMTP id un3so14158716obb.13 for ; Tue, 03 Jul 2012 23:15:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1bu186wkHBrIh4KcJlfrWSrHJqvozVtLpjO4BhIEYr4=; b=TucSv85wg2D6ybHLeMN8B+yiudxDFTSPASUmydvhTJoo3F8wXb1BTopgccGyEqjAXk bwi/h+0Eww+FedVj4bSc3/Y+c0LHSDVLPmU1pZfqp8ismzkbym34kYBT+4je/PpEK4Lp LuyK4QjTKDHKwfToCvYJJJJ/0REHVOxTUd3zdBukqdN+H/7SBfd9NkC2pO4IpM3MUb6O vFKd+4Bdyce8j4vpvlBy+gjdlFrSvzFgITWVtpjuGxB3dZATNWX0NrkfsJ2CQ9MaQrzs z/I9qCXLbD6dt3cVp+o2Qj1WtLNIpay1Hjf7TYhWusVpMLqU1AFiM0NQCkl5ZUFU1QWm nZog== MIME-Version: 1.0 Received: by 10.182.39.39 with SMTP id m7mr15971972obk.20.1341382510274; Tue, 03 Jul 2012 23:15:10 -0700 (PDT) Sender: kalle.moller@gmail.com Received: by 10.60.142.67 with HTTP; Tue, 3 Jul 2012 23:15:10 -0700 (PDT) In-Reply-To: <20120626165825.000ff9d5@dijkstra.cruwe.de> References: <20120625221711.7aec82b8@dijkstra.cruwe.de> <20456.58620.356372.475182@jerusalem.litteratus.org> <20120626165825.000ff9d5@dijkstra.cruwe.de> Date: Wed, 4 Jul 2012 08:15:10 +0200 X-Google-Sender-Auth: zpP-Rvx0p40lzG2PCGtlV1V8YIw Message-ID: From: =?UTF-8?Q?Kalle_M=C3=B8ller?= To: "Christopher J. Ruwe" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2012 06:15:11 -0000 I know that ssh does a reverse dns lookup of the ip you connect from - no matter if its local or not. On Tue, Jun 26, 2012 at 4:58 PM, Christopher J. Ruwe wrote: > On Mon, 25 Jun 2012 18:23:56 -0400 > Robert Huff wrote: > >> >> Christopher J. Ruwe writes: >> >> > On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some >> > qjails, 8.3-RELEASE. The jails are connected all via lo0 on >> > 10.0.0.0. >> > >> > While by the large working as expected, I have noticed one >> > pecularity I have failed to pinpoint: When launching processes >> > with some network interaction, like sshing into one of the jails >> > from the platform or launching emacs, the command spends ages ( >> > ~(1-2) minutes) idling? (nothing happens) before becoming >> > interactive. >> >> If the number is very close to 90 seconds, my first guess >> would be you have a DNS problem. >> >> >> Robert Huff >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > Thanks for the hint. It was DNS ... I have copied a resolv.conf into the > jails for future use, but did not enable NAT from the start. > > The issue disappeared when I commented out the nameserver entries and > switched NAT off again, i.e., I could login using ssh in a matter of > seconds, not minutes. > > Now to the followup: Why does ssh and emacs! require DNS for entirely loc= al > connections or just to be started? > > Anyway, thanks for that hint, cheers, > -- > Christopher > TZ: GMT + 2h --=20 Med Venlig Hilsen Kalle R. M=C3=B8ller