ssh and resolv.conf question

Eduardo Viruena Silva mrspock at esfm.ipn.mx
Tue May 27 23:20:14 PDT 2003


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

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


More information about the freebsd-questions mailing list