[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Slow connection time - turning off reverse DNS lookup

Felipe Rechia feliperechia@gmail.com
Fri, 21 Oct 2011 13:32:39 GMT


Hello!

I am currently using conserver to access several serial interfaces
spread out among a few servers. We have a single conserver-server
acting as master, and 6 servers have their serial interfaces
accessible via this star topology.

We've just had an IP address migration and our conserver clients no
longer have proper reverse DNS lookup.

Users are complaining that console now takes a long time to show the
current status (console -u) and also a long time to connect. For
instance, console -u takes 45 seconds to show all the available serial
ports (at most 8 serial ports per server)

Just for comparison purposes, a similar problem was found with SSH,
but it is possible to solve it by disabling the UseDNS parameter in
/etc/ssh/sshd_config file ("UseDNS no") at the server.

Is it possible to turn off reverse DNS lookup on conserver? If so, how
is it done? I have searched for this in the man pages but couldn't
find anything... A workaround is to add all known hosts to each
server's /etc/hosts file, but this is the dumb way of solving it...
Any other ideas?

Thanks in advance for any feedback! And also many thanks for the
conserver app, it is a really useful tool :)

Best Regards
Felipe Rechia