How to disable SSH reverse DNS lookup on Linux?

How 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.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *