GVK wrote:
> Kimmo Koivisto wrote:
>> If the reverse DNS query is not working, contact your ISP to correct the
>> DNS or add your client machine to the /etc/hosts file (to your FC2 box):
>>
>> 192.168.2.2 myclient.somedomain.fin myclient
>>
>> you can add your FC2 box to the hosts file too:
>> 192.168.2.1 myfc2box.somedomain.fin myfc2box
>>
>> , you should use the same name as defined in /etc/sysconfig/network and
>> check that commands
>> hostname
>> and
>> hostname -f
>> work and return the correct name.
>
> Well, adding the client IP to server's /etc/hosts helped 
> It's working well and good now. But how about the rest of the clients?
> They all are facing the same problem. Let's say the clients use IPs
> 172.16.19.*...anyway I can make it faster for all of them?
>
> regards,
> GVK
Okay, now we can be sure that the problem is that reverse DNS is not
working.
There is two solutions, maybe more, but here are those:
1) If the network (172.16.19.*) is in your control, you can set up (or fix
existing) DNS which resolves those addresses to names. You don't have to
have real domain, just set up private DNS server. Setting up properly
configured DNS makes network work smoother.
2) Disable DNS check from ssh-server. This helps only to the ssh-problem,
you can find same kind of problems from other services too and option 1)
would then be wiser thing to do.
Disable dns-check by defining the following to the /etc/sshd_config and then
restart sshd (service sshd restart)
UseDNS no
If this does not work, setting up DNS could be the best thing. Or you can
add all 172.16.19.* addresses to the hosts file (with shell script of
course).
Terveisin
Kimmo Koivisto