How to disable SSH reverse DNS lookup on Linux?
Posted on In QAHow to disable the reverse DNS lookup by the SSD server on Linux?
To turn off reverse DNS lookups of the SSH daemon, log on the server and add
UseDNS no
to /etc/ssh/sshd_config
.
And remember to restart the sshd service by service sshd restart
or systemctl restart sshd.service
or other commands depending on your system.