Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 08:06:19 +0200
From:      "Wiroth Didier" <freebsd@mcesr.etat.lu>
To:        freebsd-questions@freebsd.org
Subject:   ssh and resolv.conf question
Message-ID:  <web-860844@mcesr.etat.lu>

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

I'm running a server with freebsd 4.8-release with
OpenSSH_3.5p1 and named 8.3.4-REL. The server has the ip
192.168.0.18.

Case1: My resolv.conf contains these (similar) entries:

domain  mydomain.com
search  mydomain.com
nameserver      10.0.0.1
nameserver      10.0.0.2

Case2: No I put my own dns in the file, and the file looks
like this:
domain  mydomain.com
search  mydomain.com
nameserver      192.168.0.18
nameserver      10.0.0.1
nameserver      10.0.0.2

Now the problem: when I use the "Case2" resolv.conf file
and I try to log on with my ssh client to 192.168.0.2
"Login as:" appears quite instantly but the password
prompts takes about 50 seconds to appear!

When I change back resolv.conf to "Case1" there is no
problem, "password:" appears rapidely after having entered
the username!

What it is the problem?

I'm using a 192.168.0.16/255.255.255.248 Network and I have
not setup a reverse lookup zone for the moment! Could that
be the problem

Thanks a lot!
Didier



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