ssh and resolv.conf question
Wiroth Didier
freebsd at mcesr.etat.lu
Tue May 27 23:06:22 PDT 2003
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
More information about the freebsd-questions
mailing list