Server stopped DNS name resolution
Shachar Shemesh
shachar at shemesh.biz
Sun Mar 22 13:30:18 IST 2015
On 22/03/15 12:50, Gabor Szabo wrote:
> Hi,
> It takes ages to ssh to it, once I got to the machine I can ping IP
> addresses from it, but I cannot ping anything with a hostname.
>
Add to the sshd_config file the following line:
UseDNS no
This will speed up the ssh connection regardless of whether DNS is
resolving properly.
In theory, there is a reason ssh requires reverse DNS lookup. I never
managed to find out what it was (except making the logs more pretty,
which is a very small reward for such a huge price to pay).
Shachar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20150322/dfc09e31/attachment.html>
More information about the Linux-il
mailing list