Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2012 08:15:10 +0200
From:      =?UTF-8?Q?Kalle_M=C3=B8ller?= <freebsd-questions@k-moeller.dk>
To:        "Christopher J. Ruwe" <cjr@cruwe.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why?
Message-ID:  <CAMaK76HzQziMEVhQSrjSk8mV8v6gxRpR5OLLcKb=rEcNv7HjFw@mail.gmail.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <cjr@cruwe.de> wrote:
> On Mon, 25 Jun 2012 18:23:56 -0400
> Robert Huff <roberthuff@rcn.com> 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



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