Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 01:19:30 -0500 (CDT)
From:      Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
To:        Wiroth Didier <freebsd@mcesr.etat.lu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ssh and resolv.conf question
Message-ID:  <20030528011740.S3343@Gina.esfm.ipn.mx>
In-Reply-To: <web-860844@mcesr.etat.lu>
References:  <web-860844@mcesr.etat.lu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 28 May 2003, Wiroth Didier wrote:

> 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
>

In case2 I always use:

	nameserver 127.0.0.1

without any problem.

> Thanks a lot!
> Didier
> _______________________________________________
> 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"
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |



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